From faff70f02ec611bfbac02eef0dae7a3152f2f42a Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Wed, 16 Dec 2020 11:01:44 -0800 Subject: [PATCH] Automatically calculate the implicit version number based on the current version. This will need to be updated any time 2.1 or 3.1 don't ship. --- .../targets/GenerateBundledVersions.targets | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/redist/targets/GenerateBundledVersions.targets b/src/redist/targets/GenerateBundledVersions.targets index 4218878f2..48a93c24f 100644 --- a/src/redist/targets/GenerateBundledVersions.targets +++ b/src/redist/targets/GenerateBundledVersions.targets @@ -23,6 +23,11 @@ + + $([MSBuild]::Add($(VersionFeature), 22)) + $([MSBuild]::Add($(VersionFeature), 09)) + + Microsoft.NETCoreSdk.BundledVersions.props @@ -37,20 +42,20 @@ <_NETCoreApp30RuntimePackVersion>3.0.3 <_NETCoreApp30TargetingPackVersion>3.0.0 - <_NETCoreApp31RuntimePackVersion>3.1.14 + <_NETCoreApp31RuntimePackVersion>3.1.$(VersionFeature31) <_NETCoreApp31TargetingPackVersion>3.1.0 <_WindowsDesktop30RuntimePackVersion>3.0.3 <_WindowsDesktop30TargetingPackVersion>3.0.0 - <_WindowsDesktop31RuntimePackVersion>3.1.14 + <_WindowsDesktop31RuntimePackVersion>3.1.$(VersionFeature31) <_WindowsDesktop31TargetingPackVersion>3.1.0 <_AspNet30RuntimePackVersion>3.0.3 <_AspNet30TargetingPackVersion>3.0.1 - <_AspNet31RuntimePackVersion>3.1.14 - <_AspNet31TargetingPackVersion>3.1.10 + <_AspNet31RuntimePackVersion>3.1.$(VersionFeature31) + <_AspNet31TargetingPackVersion>3.1.$(VersionFeature31) <_NETCoreAppTargetFrameworkVersion>$(_NETCoreAppPackageVersion.Split('.')[0]).$(_NETCoreAppPackageVersion.Split('.')[1]) @@ -154,7 +159,7 @@ + LatestVersion="2.1.$(VersionFeature21)" /> + LatestVersion="2.1.$(VersionFeature21)"/> + LatestVersion="2.1.$(VersionFeature21)"/>