diff --git a/src/redist/targets/BundledTemplates.targets b/src/redist/targets/BundledTemplates.targets index 234a66589..fe161fe49 100644 --- a/src/redist/targets/BundledTemplates.targets +++ b/src/redist/targets/BundledTemplates.targets @@ -1,4 +1,15 @@ + + + $(MicrosoftNETCoreAppPackageVersion.IndexOf('-')) + $(MicrosoftNETCoreAppPackageVersion) + $(MicrosoftNETCoreAppPackageVersion.Substring(0, $(MicrosoftNETCoreAppVersionPreReleaseSeparator))) + $(MicrosoftNETCoreAppMajorMinorPatchVersion) + $(BundledTemplatesVersion)-$(VersionSuffix) + + + @@ -25,13 +36,20 @@ - + - + DestinationFolder="$(RedistLayoutPath)templates/$(BundledTemplatesVersion)"/> + + + + diff --git a/src/redist/targets/GenerateDebs.targets b/src/redist/targets/GenerateDebs.targets index c911132fc..421b6e70a 100644 --- a/src/redist/targets/GenerateDebs.targets +++ b/src/redist/targets/GenerateDebs.targets @@ -83,10 +83,12 @@ $(RepoRoot)Documentation/manpages $(RepoRoot)test/EndToEnd/EndToEnd.Tests.csproj $(RedistLayoutPath)sdk/ + $(RedistLayoutPath)templates/ - + + @@ -227,7 +229,7 @@ DependsOnTargets="PrepareDotnetDebDirectories; PrepareDotnetDebTool; GetAspNetSharedFxInstallArgs;" - Inputs="@(CLISdkFiles)" + Inputs="@(CLISdkFiles);@(TemplatesFiles)" Outputs="$(SdkDebInstallerFile)" > @@ -248,6 +250,14 @@ SkipUnchangedFiles="False" UseHardlinksIfPossible="False" /> + + + $(BaseOutputPath)$(Configuration)\dotnet\ $(BaseOutputPath)$(Configuration)\dotnet-internal\ + $(BaseOutputPath)$(Configuration)\dotnet-templates\ $(IntermediateOutputPath)downloads\ @@ -415,6 +416,7 @@ GenerateBundledVersions; LayoutRuntimeGraph; LayoutTemplates; + LayoutTemplatesForMSI; LayoutBundledTools; RetargetTools; CrossgenLayout; diff --git a/src/redist/targets/GenerateMSIs.targets b/src/redist/targets/GenerateMSIs.targets index 45bd54f9b..1a33cabbb 100644 --- a/src/redist/targets/GenerateMSIs.targets +++ b/src/redist/targets/GenerateMSIs.targets @@ -16,11 +16,14 @@ $(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 @@ -36,6 +39,8 @@ $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionSdk)$(InstallerExtension) $(ArtifactsShippingPackagesDir)d$(Architecture)-1.cab + $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionTemplates)$(InstallerExtension) + $(ArtifactsShippingPackagesDir)t$(Architecture)-1.cab $(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension) $(ProductBandCombinedHostHostFxrFrameworkSdkName) @@ -49,15 +54,9 @@ - - - - - - + + + + + @@ -104,8 +108,9 @@ + + + + + + + + + + + Condition=" '$(OS)' == 'Windows_NT' and !$(Architecture.StartsWith('arm')) " /> diff --git a/src/redist/targets/GeneratePKG.targets b/src/redist/targets/GeneratePKG.targets index 9add88c7f..8f1cf9d65 100644 --- a/src/redist/targets/GeneratePKG.targets +++ b/src/redist/targets/GeneratePKG.targets @@ -129,6 +129,10 @@ Outputs="$(SdkPKGInstallerFile)" DependsOnTargets="GenerateLayout;SetupPkgInputsOutputs" Condition=" '$(OSName)' == 'osx' "> + + + + + + + @@ -50,6 +51,12 @@ SkipUnchangedFiles="False" UseHardlinksIfPossible="False"/> + + $(ArtifactNameCombinedHostHostFxrFrameworkSdk)-$(SdkRpmPackageVersion) $(SdkVersion) $(RedistLayoutPath)sdk/ + $(RedistLayoutPath)templates/ $(ArtifactsShippingPackagesDir)$(DistroSpecificArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(InstallerExtension) $(SdkRPMInstallerFile) @@ -183,6 +191,7 @@ $(RpmIntermediatesDir)/RpmLayoutDirectory/ $(RpmLayoutDirectory)package_root $(RpmLayoutPackageRoot)/sdk + $(RpmLayoutPackageRoot)/templates $(RpmLayoutDirectory)docs $(RpmLayoutDirectory)templates $(RpmLayoutDirectory)scripts diff --git a/src/redist/targets/GetRuntimeInformation.targets b/src/redist/targets/GetRuntimeInformation.targets index ff9ee1781..82ed1085a 100644 --- a/src/redist/targets/GetRuntimeInformation.targets +++ b/src/redist/targets/GetRuntimeInformation.targets @@ -42,9 +42,11 @@ $(Architecture) dotnet-sdk-internal + dotnet-templates dotnet-sdk $(ArtifactNameSdk)-$(SdkVersion)-$(ProductMonikerRid) + $(ArtifactNameTemplates)-$(SdkVersion)-$(ProductMonikerRid) dotnet-standard-support-vs2015-$(SdkVersion)-$(ProductMonikerRid) $(ArtifactNameCombinedHostHostFxrFrameworkSdk)-$(SdkVersion)-$(ProductMonikerRid)