diff --git a/eng/Versions.props b/eng/Versions.props
index 0be122e39..7d334c0af 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -36,11 +36,7 @@
3.0.100-preview8.19374.2
- 2.0.0-preview8.19373.1
- $(MicrosoftDotNetCommonItemTemplatesPackageVersion)
- 1.0.2-beta4.19354.2
0.2.0
- 1.6.1
@@ -63,6 +59,28 @@
3.0.0-preview8-28373-17
$(MicrosoftWindowsDesktopAppPackageVersion)
+
+
+ $(MicrosoftDotnetWinFormsProjectTemplatesPackageVersion)
+ $(MicrosoftDotNetWpfProjectTemplatesPackageVersion)
+ 1.6.1
+ 2.0.0-preview8.19373.1
+ $(MicrosoftDotNetCommonItemTemplates30PackageVersion)
+ 1.0.2-beta4.19354.2
+ $(AspNetCoreVersion)
+
+ 1.6.0
+ 1.0.2-beta4
+ $(MicrosoftDotNetCommonItemTemplates22PackageVersion)
+ 1.0.2-beta4.19155.2
+ 2.2.6
+
+ 1.5.3
+ 1.0.2-beta3
+ $(MicrosoftDotNetCommonItemTemplates21PackageVersion)
+ 1.0.2-beta4-20181009-2100240
+ 2.1.12
+
2.2.0-beta.19072.10
diff --git a/src/redist/targets/Branding.targets b/src/redist/targets/Branding.targets
index 9f81239cd..e70d058c2 100644
--- a/src/redist/targets/Branding.targets
+++ b/src/redist/targets/Branding.targets
@@ -12,6 +12,9 @@
Microsoft .NET Core Host FX Resolver $(MicrosoftNETCoreAppPackageVersion)
Microsoft.NETCore.App
$(SharedFrameworkName)
+ Microsoft .NET Core 3.0 Templates
+ Microsoft .NET Core 2.2 Templates
+ Microsoft .NET Core 2.1 Templates
diff --git a/src/redist/targets/BundledTemplates.targets b/src/redist/targets/BundledTemplates.targets
index fe161fe49..caf7b6a62 100644
--- a/src/redist/targets/BundledTemplates.targets
+++ b/src/redist/targets/BundledTemplates.targets
@@ -1,55 +1,134 @@
-
- $(MicrosoftNETCoreAppPackageVersion.IndexOf('-'))
- $(MicrosoftNETCoreAppPackageVersion)
- $(MicrosoftNETCoreAppPackageVersion.Substring(0, $(MicrosoftNETCoreAppVersionPreReleaseSeparator)))
- $(MicrosoftNETCoreAppMajorMinorPatchVersion)
- $(BundledTemplatesVersion)-$(VersionSuffix)
+ $(AspNetCorePackageVersionFor30Templates.IndexOf('-'))
+ $(AspNetCorePackageVersionFor30Templates)
+ $(AspNetCorePackageVersionFor30Templates.Substring(0, $(AspNetCore30VersionPreReleaseSeparator)))
+ $(AspNetCore30VersionMajorMinorPatchVersion)-$(VersionSuffix)
+ $(AspNetCore30VersionMajorMinorPatchVersion).$(GitCommitCount)
+ $(AspNetCore30VersionMajorMinorPatchVersion)
+ $(BundledTemplates30InstallPath)-$(VersionSuffix)
+ $([MSBuild]::Add($(AspNetCore30VersionMajorMinorPatchVersion.IndexOf('.')), 1))
+ $(AspNetCore30VersionMajorMinorPatchVersion.IndexOf('.', $(Templates30VersionPatchSeparatorIndex)))
+ $(AspNetCore30VersionMajorMinorPatchVersion.Substring(0, $(Templates30VersionPatchSeparatorIndex)))
+
+ $(AspNetCorePackageVersionFor22Templates.IndexOf('-'))
+ $(AspNetCorePackageVersionFor22Templates)
+ $(AspNetCorePackageVersionFor22Templates.Substring(0, $(AspNetCore22VersionPreReleaseSeparator)))
+ $(AspNetCore22VersionMajorMinorPatchVersion)-$(VersionSuffix)
+ $(AspNetCore22VersionMajorMinorPatchVersion).$(GitCommitCount)
+ $(AspNetCore22VersionMajorMinorPatchVersion)
+ $(BundledTemplates22InstallPath)-$(VersionSuffix)
+ $([MSBuild]::Add($(AspNetCore22VersionMajorMinorPatchVersion.IndexOf('.')), 1))
+ $(AspNetCore22VersionMajorMinorPatchVersion.IndexOf('.', $(Templates22VersionPatchSeparatorIndex)))
+ $(AspNetCore22VersionMajorMinorPatchVersion.Substring(0, $(Templates22VersionPatchSeparatorIndex)))
+
+ $(AspNetCorePackageVersionFor21Templates.IndexOf('-'))
+ $(AspNetCorePackageVersionFor21Templates)
+ $(AspNetCorePackageVersionFor21Templates.Substring(0, $(AspNetCore21VersionPreReleaseSeparator)))
+ $(AspNetCore21VersionMajorMinorPatchVersion)-$(VersionSuffix)
+ $(AspNetCore21VersionMajorMinorPatchVersion).$(GitCommitCount)
+ $(AspNetCore21VersionMajorMinorPatchVersion)
+ $(BundledTemplates21InstallPath)-$(VersionSuffix)
+ $([MSBuild]::Add($(AspNetCore21VersionMajorMinorPatchVersion.IndexOf('.')), 1))
+ $(AspNetCore21VersionMajorMinorPatchVersion.IndexOf('.', $(Templates21VersionPatchSeparatorIndex)))
+ $(AspNetCore21VersionMajorMinorPatchVersion.Substring(0, $(Templates21VersionPatchSeparatorIndex)))
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+ %(Identity)/%(PackageVersion)/%(Identity).%(PackageVersion).nupkg
+ $(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(NupkgPathRelativeToPackageRoot)', '').ToLower())
+ [%(PackageVersion)]
+
+
+
+
+ %(Identity)/%(PackageVersion)/%(Identity).%(PackageVersion).nupkg
+ $(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(NupkgPathRelativeToPackageRoot)', '').ToLower())
+ [%(PackageVersion)]
+
+
+
+
+ %(Identity)/%(PackageVersion)/%(Identity).%(PackageVersion).nupkg
+ $(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(NupkgPathRelativeToPackageRoot)', '').ToLower())
+ [%(PackageVersion)]
+
+
-
+
+
-
-
-
-
-
- %(Identity)/%(Version)/%(Identity).%(Version).nupkg
- $(NuGetPackageRoot)$([MSBuild]::ValueOrDefault('%(NupkgPathRelativeToPackageRoot)', '').ToLower())
-
+
+ DependsOnTargets="LayoutTemplatesForSDK;LayoutTemplatesFor30MSI;LayoutTemplatesFor22MSI;LayoutTemplatesFor21MSI" />
+
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/redist/targets/GenerateLayout.targets b/src/redist/targets/GenerateLayout.targets
index e7618c3cb..801b69ca0 100644
--- a/src/redist/targets/GenerateLayout.targets
+++ b/src/redist/targets/GenerateLayout.targets
@@ -2,7 +2,9 @@
$(BaseOutputPath)$(Configuration)\dotnet\
$(BaseOutputPath)$(Configuration)\dotnet-internal\
- $(BaseOutputPath)$(Configuration)\dotnet-templates\
+ $(BaseOutputPath)$(Configuration)\templates-3.0\
+ $(BaseOutputPath)$(Configuration)\templates-2.2\
+ $(BaseOutputPath)$(Configuration)\templates-2.1\
$(IntermediateOutputPath)downloads\
@@ -416,7 +418,6 @@
GenerateBundledVersions;
LayoutRuntimeGraph;
LayoutTemplates;
- LayoutTemplatesForMSI;
LayoutBundledTools;
RetargetTools;
CrossgenLayout;
diff --git a/src/redist/targets/GenerateMSIs.targets b/src/redist/targets/GenerateMSIs.targets
index 1a33cabbb..9fdb03b75 100644
--- a/src/redist/targets/GenerateMSIs.targets
+++ b/src/redist/targets/GenerateMSIs.targets
@@ -16,14 +16,11 @@
$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatemsi.ps1
$(MSBuildThisFileDirectory)packaging/windows/clisdk/stablefileidforapphosttransform.xslt
- $(MSBuildThisFileDirectory)packaging/windows/clisdk/generatetemplatesmsi.ps1
$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatebundle.ps1
$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatenupkg.ps1
$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.Toolset.nuspec
$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Toolset.$(Architecture).$(FullNugetVersion).nupkg
- $(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.Templates.nuspec
- $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Templates.$(Architecture).$(FullNugetVersion).nupkg
$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Tools.Net.Core.SDK.nuspec
$(ArtifactsNonShippingPackagesDir)VS.Tools.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg
@@ -39,8 +36,9 @@
$(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionSdk)$(InstallerExtension)
$(ArtifactsShippingPackagesDir)d$(Architecture)-1.cab
- $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionTemplates)$(InstallerExtension)
- $(ArtifactsShippingPackagesDir)t$(Architecture)-1.cab
+ $(ArtifactsShippingPackagesDir)$(ArtifactNameTemplates)-$(BundledTemplates30Version)-$(ProductMonikerRid)$(InstallerExtension)
+ $(ArtifactsShippingPackagesDir)$(ArtifactNameTemplates)-$(BundledTemplates22Version)-$(ProductMonikerRid)$(InstallerExtension)
+ $(ArtifactsShippingPackagesDir)$(ArtifactNameTemplates)-$(BundledTemplates21Version)-$(ProductMonikerRid)$(InstallerExtension)
$(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)
$(ProductBandCombinedHostHostFxrFrameworkSdkName)
@@ -56,7 +54,7 @@
DependsOnTargets="GenerateLayout;SetupWixProperties;GetCoreSdkGitCommitInfo">
-
+
-
+
+ PropertyName="Templates30InstallerUpgradeCode" />
+
+
+
+
+
+
+
+
@@ -127,28 +135,61 @@
-InformationAction Continue" />
-
+
+
+
+ $(MSBuildThisFileDirectory)packaging/windows/clisdk/generatetemplatesmsi.ps1
+
+
+
+
+ $(Templates30LayoutPath.TrimEnd('\'))
+ $(Templates30MSIInstallerFile)
+ $(BundledTemplates30BrandName)
+ $(BundledTemplates30MsiVersion)
+ $(BundledTemplates30Version)
+ $(Templates30InstallerUpgradeCode)
+
+
+ $(Templates22LayoutPath.TrimEnd('\'))
+ $(Templates22MSIInstallerFile)
+ $(BundledTemplates22BrandName)
+ $(BundledTemplates22MsiVersion)
+ $(BundledTemplates22Version)
+ $(Templates22InstallerUpgradeCode)
+
+
+ $(Templates21LayoutPath.TrimEnd('\'))
+ $(Templates21MSIInstallerFile)
+ $(BundledTemplates21BrandName)
+ $(BundledTemplates21MsiVersion)
+ $(BundledTemplates21Version)
+ $(Templates21InstallerUpgradeCode)
+
+
+
+
-
+ Outputs="@(TemplatesNupkgComponent->'%(NupkgFile)')">
+ '@(TemplatesNupkgComponent->'%(MajorMinorVersion)')'" />
+
+
+
+
+ $(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.Templates.nuspec
+
+
+
+
+ $(Templates30MSIInstallerFile)
+ $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Templates.$(BundledTemplates30MajorMinorVersion).$(BundledTemplates30Version).nupkg
+ $(BundledTemplates30Version)
+ $(BundledTemplates30MajorMinorVersion)
+
+
+ $(Templates22MSIInstallerFile)
+ $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Templates.$(BundledTemplates22MajorMinorVersion).$(BundledTemplates22Version).nupkg
+ $(BundledTemplates22Version)
+ $(BundledTemplates22MajorMinorVersion)
+
+
+ $(Templates21MSIInstallerFile)
+ $(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Templates.$(BundledTemplates21MajorMinorVersion).$(BundledTemplates21Version).nupkg
+ $(BundledTemplates21Version)
+ $(BundledTemplates21MajorMinorVersion)
+
+
+ '$(ArtifactsDir)' ^
+ '$(RedistLayoutPath.TrimEnd('\'))' ^
+ '$(FullNugetVersion)' ^
+ '$(VSToolsNuspecFile)' ^
+ '$(VSToolsNupkgFile)' ^
+ '$(Architecture)'" />
+ '$(ArtifactsDir)' ^
+ '$(SdkResolverLayoutPath.TrimEnd('\'))' ^
+ '$(FullNugetVersion)' ^
+ '$(VSToolsResolverNuspecFile)' ^
+ '$(VSToolsResolverNupkgFile)'" />
dotnet-sdk
$(ArtifactNameSdk)-$(SdkVersion)-$(ProductMonikerRid)
- $(ArtifactNameTemplates)-$(SdkVersion)-$(ProductMonikerRid)
dotnet-standard-support-vs2015-$(SdkVersion)-$(ProductMonikerRid)
$(ArtifactNameCombinedHostHostFxrFrameworkSdk)-$(SdkVersion)-$(ProductMonikerRid)