Skip to content

Commit 6d61659

Browse files
Centralize VersionPrefix information in Version.props (#2440)
1 parent 73d02c3 commit 6d61659

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

eng/Versions.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<!-- Branding information -->
44
<PropertyGroup>
5+
<!--
6+
Primary version prefix for this repo - usually changes only once per major release
7+
-->
58
<VersionPrefix>4.8.0</VersionPrefix>
9+
<!--
10+
Version prefix used by a few projects like Project Templates
11+
Revision portion of Major.Minor.Revision usually updated every release
12+
-->
13+
<TraditionalVersionPrefix>3.0.3</TraditionalVersionPrefix>
614
<PreReleaseVersionLabel>servicing</PreReleaseVersionLabel>
715
<AssemblyVersion>4.0.0.0</AssemblyVersion>
816
<!--

packaging/Microsoft.Dotnet.Wpf.ProjectTemplates/Microsoft.DotNet.Wpf.ProjectTemplates.ArchNeutral.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ProjectGuid>{BFF6C118-3369-43B5-ACA6-D65ED00EEBE0}</ProjectGuid>
44
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
6-
<VersionPrefix>3.0.3</VersionPrefix>
6+
<VersionPrefix>$(TraditionalVersionPrefix)</VersionPrefix>
77
</PropertyGroup>
88

99
<PropertyGroup>

packaging/Microsoft.NET.Sdk.WindowsDesktop/Microsoft.NET.Sdk.WindowsDesktop.ArchNeutral.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<ProjectGuid>{440d06b8-e3de-4c0d-ad25-cd4f43d836e1}</ProjectGuid>
44
<TargetFramework>netcoreapp3.0</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
6-
<VersionPrefix>3.0.3</VersionPrefix>
6+
<VersionPrefix>$(TraditionalVersionPrefix)</VersionPrefix>
77
</PropertyGroup>
88

99
<PropertyGroup>

0 commit comments

Comments
 (0)