Skip to content

Compute runtime ProductVersion from Major.Minor.Patch#3230

Merged
akoeplinger merged 1 commit into
mainfrom
akoeplinger-patch-1
Nov 5, 2025
Merged

Compute runtime ProductVersion from Major.Minor.Patch#3230
akoeplinger merged 1 commit into
mainfrom
akoeplinger-patch-1

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Port of #3208 to main

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the version configuration in Versions.props to make the ProductVersion property dynamically computed from the individual version components rather than hardcoded. This improves maintainability by ensuring the product version is always consistent with the major, minor, and patch version values.

  • The ProductVersion is now computed from MajorVersion, MinorVersion, and PatchVersion using MSBuild property interpolation
  • The comment and property definition for ProductVersion have been moved after the file version numbers for better logical grouping

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@akoeplinger akoeplinger merged commit ef76fd9 into main Nov 5, 2025
17 checks passed
@akoeplinger akoeplinger deleted the akoeplinger-patch-1 branch November 5, 2025 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants