From 24e2e68b4aea5bc9fa87b948537ed77210440a6f Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 8 Mar 2023 09:52:38 -0800 Subject: [PATCH 1/6] Automate Asp.net template updates in dotnet/installer --- eng/Versions.props | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index 38f9d3f51..c816a7bd3 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -103,6 +103,19 @@ 5.8.0 + + + + $(MicrosoftNETSdkPackageVersion.Split('.')[2]) + $(MicrosoftNETSdkPactchVersion.Split('-')[0]) + $(MicrosoftNETSdkPactchVersion.Substring(1)) + + $([MSBuild]::Add($(VersionFeature), 9)) + $([MSBuild]::Add($(AspNetCoreTemplateFeature60), 1)) 5.0.403 @@ -135,7 +148,7 @@ $(NUnit3DotNetNewTemplatePackageVersion) $(MicrosoftDotNetCommonItemTemplates60PackageVersion) $(MicrosoftDotNetCommonItemTemplates60PackageVersion) - 6.0.14 + 6.0.$(AspNetCoreTemplateFeature60) $(MicrosoftWinFormsProjectTemplates50PackageVersion) $(MicrosoftWPFProjectTemplates50PackageVersion) From 88c6d20576914ee98b4c6d4a1c4471f52458f4e9 Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 8 Mar 2023 09:54:51 -0800 Subject: [PATCH 2/6] Fixup --- eng/Versions.props | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/Versions.props b/eng/Versions.props index c816a7bd3..698f403de 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -116,6 +116,7 @@ --> $([MSBuild]::Add($(VersionFeature), 9)) $([MSBuild]::Add($(AspNetCoreTemplateFeature60), 1)) + 5.0.403 From 8a5d24ef41fcbf4cc62201ca53f5cdfd5b7689be Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 8 Mar 2023 09:56:52 -0800 Subject: [PATCH 3/6] Spelling --- eng/Versions.props | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 698f403de..016c2c2d9 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -106,16 +106,16 @@ - $(MicrosoftNETSdkPackageVersion.Split('.')[2]) - $(MicrosoftNETSdkPactchVersion.Split('-')[0]) - $(MicrosoftNETSdkPactchVersion.Substring(1)) + $(MicrosoftNETSdkPackageVersion.Split('.')[2]) + $(MicrosoftNETSdkPactchVersion.Split('-')[0]) + $(MicrosoftNETSdkPactchVersion.Substring(1)) $([MSBuild]::Add($(VersionFeature), 9)) - $([MSBuild]::Add($(AspNetCoreTemplateFeature60), 1)) + $([MSBuild]::Add($(AspNetCoreTemplateFeature60), 1)) From 17883b783a906dd6c6399707fe06a2f87c5f71be Mon Sep 17 00:00:00 2001 From: William Godbe Date: Wed, 8 Mar 2023 09:57:18 -0800 Subject: [PATCH 4/6] More spelling --- eng/Versions.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 016c2c2d9..cf7bd222c 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -107,8 +107,8 @@ $(MicrosoftNETSdkPackageVersion.Split('.')[2]) - $(MicrosoftNETSdkPactchVersion.Split('-')[0]) - $(MicrosoftNETSdkPactchVersion.Substring(1)) + $(MicrosoftNETSdkPatchVersion.Split('-')[0]) + $(MicrosoftNETSdkPatchVersion.Substring(1)) @@ -106,23 +112,25 @@ - $(MicrosoftNETSdkPackageVersion.Split('.')[2]) - $(MicrosoftNETSdkPatchVersion.Split('-')[0]) + $(MicrosoftNETSdkPackageVersion.Split('.')[2]) + $(MicrosoftNETSdkFeatureAndPatchVersion.Split('-')[0]) $(MicrosoftNETSdkPatchVersion.Substring(1)) - $([MSBuild]::Add($(VersionFeature), 9)) - $([MSBuild]::Add($(AspNetCoreTemplateFeature60), 1)) + true + true + $([MSBuild]::Subtract($(VersionFeature60), 1)) + $([MSBuild]::Subtract($(AspNetCoreTemplateFeature60), 1)) 5.0.403 6.0.302 - 5.0.13 - 6.0.1 5.0.17-servicing.22215.4 5.0.17-servicing.22218.2 6.0.7-servicing.22322.3 diff --git a/src/redist/targets/GenerateBundledVersions.targets b/src/redist/targets/GenerateBundledVersions.targets index 50f1ae43c..60d7ecde1 100644 --- a/src/redist/targets/GenerateBundledVersions.targets +++ b/src/redist/targets/GenerateBundledVersions.targets @@ -59,13 +59,6 @@ - - 30 - 32 - 17 - $([MSBuild]::Add($(VersionFeature), 11)) - - Microsoft.NETCoreSdk.BundledVersions.props From 06070d10f621b7c0410f6563a7a8dc4c798ff1cc Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Fri, 10 Mar 2023 10:18:12 -0800 Subject: [PATCH 6/6] Fixup --- eng/Versions.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/Versions.props b/eng/Versions.props index cf490c3d8..56980e09a 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -114,7 +114,7 @@ $(MicrosoftNETSdkPackageVersion.Split('.')[2]) $(MicrosoftNETSdkFeatureAndPatchVersion.Split('-')[0]) - $(MicrosoftNETSdkPatchVersion.Substring(1)) + $(MicrosoftNETSdkFeatureAndPatchVersion.Substring(1))