2016-06-28 01:26:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2020-08-19 18:58:16 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Installers" Version="$(MicrosoftDotNetBuildTasksInstallersPackageVersion)" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-09-18 16:46:00 +00:00
|
|
|
<MicrosoftDotNetBuildTasksInstallersTaskAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(NuGetPackageRoot)microsoft.dotnet.build.tasks.installers\$(MicrosoftDotNetBuildTasksInstallersPackageVersion)\tools\netcoreapp2.1\Microsoft.DotNet.Build.Tasks.Installers.dll</MicrosoftDotNetBuildTasksInstallersTaskAssembly>
|
2020-08-19 18:58:16 +00:00
|
|
|
<MicrosoftDotNetBuildTasksInstallersTaskAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(NuGetPackageRoot)microsoft.dotnet.build.tasks.installers\$(MicrosoftDotNetBuildTasksInstallersPackageVersion)\tools\net472\Microsoft.DotNet.Build.Tasks.Installers.dll</MicrosoftDotNetBuildTasksInstallersTaskAssembly>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<UsingTask TaskName="CreateLightCommandPackageDrop" AssemblyFile="$(MicrosoftDotNetBuildTasksInstallersTaskAssembly)" />
|
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<Target Name="SetupWixProperties" DependsOnTargets="GetCurrentRuntimeInformation">
|
2017-02-23 18:37:48 +00:00
|
|
|
<!-- AcquireWix Properties -->
|
|
|
|
<PropertyGroup>
|
2020-09-10 10:04:54 +00:00
|
|
|
<WixVersion>3.14.0.4118</WixVersion>
|
2017-02-23 18:37:48 +00:00
|
|
|
<WixDownloadUrl>https://dotnetcli.azureedge.net/build/wix/wix.$(WixVersion).zip</WixDownloadUrl>
|
2018-10-31 20:56:32 +00:00
|
|
|
<WixRoot>$(ArtifactsDir)Tools/WixTools/$(WixVersion)</WixRoot>
|
2017-02-23 18:37:48 +00:00
|
|
|
<WixDestinationPath>$(WixRoot)/WixTools.$(WixVersion).zip</WixDestinationPath>
|
|
|
|
<WixDownloadSentinel>$(WixRoot)/WixDownload.$(WixVersion).sentinel</WixDownloadSentinel>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<!-- Generate MSI/Bundle Properties -->
|
|
|
|
<PropertyGroup>
|
2019-05-15 19:51:44 +00:00
|
|
|
<CombinedFrameworkSdkHostBundleEngineName>$(ArtifactsTmpDir)/$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)-engine.exe</CombinedFrameworkSdkHostBundleEngineName>
|
2017-02-23 18:37:48 +00:00
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<SdkGenerateMsiPowershellScript>$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatemsi.ps1</SdkGenerateMsiPowershellScript>
|
2019-08-16 18:56:20 +00:00
|
|
|
<SdkPlaceholderGenerateMsiPowershellScript>$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatesdkplaceholdermsi.ps1</SdkPlaceholderGenerateMsiPowershellScript>
|
2018-10-31 20:56:32 +00:00
|
|
|
<SdkStableFileIdForApphostTransform>$(MSBuildThisFileDirectory)packaging/windows/clisdk/stablefileidforapphosttransform.xslt</SdkStableFileIdForApphostTransform>
|
|
|
|
<SdkGenerateBundlePowershellScript>$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatebundle.ps1</SdkGenerateBundlePowershellScript>
|
2019-06-10 23:00:53 +00:00
|
|
|
<GenerateNupkgPowershellScript>$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatenupkg.ps1</GenerateNupkgPowershellScript>
|
2017-02-23 18:37:48 +00:00
|
|
|
|
2019-06-11 20:16:26 +00:00
|
|
|
<ToolsetInstallerNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.Toolset.nuspec</ToolsetInstallerNuspecFile>
|
|
|
|
<ToolsetInstallerNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Toolset.$(Architecture).$(FullNugetVersion).nupkg</ToolsetInstallerNupkgFile>
|
2019-08-16 18:56:20 +00:00
|
|
|
<SdkPlaceholderInstallerNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.SdkPlaceholder.nuspec</SdkPlaceholderInstallerNuspecFile>
|
|
|
|
<SdkPlaceholderInstallerNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.SdkPlaceholder.$(Architecture).$(FullNugetVersion).nupkg</SdkPlaceholderInstallerNupkgFile>
|
2019-06-10 23:00:53 +00:00
|
|
|
<VSToolsNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Tools.Net.Core.SDK.nuspec</VSToolsNuspecFile>
|
2019-01-11 19:55:28 +00:00
|
|
|
<VSToolsNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Tools.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg</VSToolsNupkgFile>
|
2017-06-27 23:49:34 +00:00
|
|
|
|
2019-02-15 02:21:23 +00:00
|
|
|
<SdkResolverLayoutPath>$(ArtifactsDir)bin/SdkResolver/$(Configuration)</SdkResolverLayoutPath>
|
2019-05-15 19:51:44 +00:00
|
|
|
<VSToolsResolverNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Tools.Net.Core.SDK.Resolver.nuspec</VSToolsResolverNuspecFile>
|
2019-02-15 02:21:23 +00:00
|
|
|
<VSToolsResolverNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Tools.Net.Core.SDK.Resolver.nupkg</VSToolsResolverNupkgFile>
|
|
|
|
|
2019-06-24 20:24:27 +00:00
|
|
|
<SdkMSBuildExtensionsNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec</SdkMSBuildExtensionsNuspecFile>
|
2019-01-11 19:55:28 +00:00
|
|
|
<SdkMSBuildExtensionsNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.$(FullNugetVersion).nupkg</SdkMSBuildExtensionsNupkgFile>
|
2019-06-24 20:24:27 +00:00
|
|
|
<SdkMSBuildExtensionsSwrFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.swr</SdkMSBuildExtensionsSwrFile>
|
2020-08-19 18:58:16 +00:00
|
|
|
|
2020-09-16 04:26:58 +00:00
|
|
|
<VSTemplateLocatorLayoutPath>$(ArtifactsDir)bin/VSTemplateLocator/Debug</VSTemplateLocatorLayoutPath>
|
|
|
|
<VSTemplateLocatorNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.VSTemplateLocator.nuspec</VSTemplateLocatorNuspecFile>
|
|
|
|
<VSTemplateLocatorNupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.Net.Core.SDK.VSTemplateLocator.$(FullNugetVersion).nupkg</VSTemplateLocatorNupkgFile>
|
|
|
|
|
2020-08-19 18:58:16 +00:00
|
|
|
<!-- Temp directory for light command layouts -->
|
|
|
|
<LightCommandObjDir>$(ArtifactsObjDir)/LightCommandPackages</LightCommandObjDir>
|
|
|
|
<!-- Directory for the zipped up light command package -->
|
|
|
|
<LightCommandPackagesDir>$(ArtifactsNonShippingPackagesDir)</LightCommandPackagesDir>
|
2017-02-23 18:37:48 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-06-25 18:36:38 +00:00
|
|
|
<SdkMSIInstallerFile>$(ArtifactsNonShippingPackagesDir)$(ArtifactNameWithVersionSdk)$(InstallerExtension)</SdkMSIInstallerFile>
|
2019-08-16 21:54:47 +00:00
|
|
|
<SdkDependencyKeyName>Dotnet_CLI</SdkDependencyKeyName>
|
2020-06-25 18:36:38 +00:00
|
|
|
<SdkPlaceholderMSIInstallerFile>$(ArtifactsNonShippingPackagesDir)dotnet-sdkplaceholder-$(FullNugetVersion)-$(ProductMonikerRid)$(InstallerExtension)</SdkPlaceholderMSIInstallerFile>
|
2019-08-16 21:54:47 +00:00
|
|
|
<SdkPlaceholderDependencyKeyName>NetCore_SdkPlaceholder</SdkPlaceholderDependencyKeyName>
|
2019-07-22 17:06:16 +00:00
|
|
|
<CombinedFrameworkSdkHostMSIInstallerFile>$(ArtifactsShippingPackagesDir)$(ArtifactNameWithVersionCombinedHostHostFxrFrameworkSdk)$(BundleExtension)</CombinedFrameworkSdkHostMSIInstallerFile>
|
2019-02-19 22:21:54 +00:00
|
|
|
<SdkBundleInstallerOutputGuidString>$(ProductBandCombinedHostHostFxrFrameworkSdkName)</SdkBundleInstallerOutputGuidString>
|
2018-10-31 20:56:32 +00:00
|
|
|
|
2018-11-02 06:15:59 +00:00
|
|
|
<!--<SdkDebianIntermediateDirectory>$(IntermediateOutputPath)debian/sdk/</SdkDebianIntermediateDirectory>
|
2018-10-31 20:56:32 +00:00
|
|
|
<LayoutDirectory Condition=" '$(OSName)' == 'ubuntu' OR '$(OSName)' == 'debian' ">$(SdkDebianIntermediateDirectory)debianLayoutDirectory</LayoutDirectory>
|
|
|
|
<LayoutDirectory Condition=" '$(OSName)' != 'ubuntu' AND '$(OSName)' != 'debian' ">$(IntermediateOutputPath)layouts</LayoutDirectory>
|
|
|
|
<SdkLayoutOutputDirectory>$(LayoutDirectory)$(ArtifactNameSdk)</SdkLayoutOutputDirectory>
|
2018-11-02 06:15:59 +00:00
|
|
|
<MSBuildExtensionsOutputDirectory>$(LayoutDirectory)MSBuildExtensions</MSBuildExtensionsOutputDirectory>-->
|
2017-02-23 18:37:48 +00:00
|
|
|
</PropertyGroup>
|
2019-12-20 23:58:08 +00:00
|
|
|
|
2019-12-26 18:40:20 +00:00
|
|
|
<Exec Command="git rev-list --count HEAD"
|
|
|
|
ConsoleToMSBuild="true"
|
|
|
|
Condition=" '$(GitCommitCount)' == '' ">
|
|
|
|
<Output TaskParameter="ConsoleOutput" PropertyName="GitCommitCount" />
|
|
|
|
</Exec>
|
|
|
|
|
|
|
|
<Error Condition=" '$(OfficialBuild)' == 'true' And '$(_PatchNumber)' == '' "
|
|
|
|
Text="_PatchNumber should not be empty in an official build. Check if there were changes in Arcade." />
|
|
|
|
|
2019-12-20 23:58:08 +00:00
|
|
|
<PropertyGroup>
|
2019-12-26 18:40:20 +00:00
|
|
|
<GitCommitCount>$(GitCommitCount.PadLeft(6,'0'))</GitCommitCount>
|
|
|
|
|
2019-12-23 23:03:33 +00:00
|
|
|
<!-- This number comes from arcade and combines the date based build number id and the revision (incremental number per day) -->
|
|
|
|
<CombinedBuildNumberAndRevision>$(_PatchNumber)</CombinedBuildNumberAndRevision>
|
2019-12-26 18:40:20 +00:00
|
|
|
<!-- Fallback to commit count when patch number is not set. This happens only during CI. -->
|
|
|
|
<CombinedBuildNumberAndRevision Condition=" '$(CombinedBuildNumberAndRevision)' == '' ">$(GitCommitCount)</CombinedBuildNumberAndRevision>
|
2020-01-03 21:58:21 +00:00
|
|
|
|
|
|
|
<!-- This number comes from arcade and combines the date based build number id and the revision (incremental number per day) -->
|
|
|
|
<SDKBundleVersion>$(FileVersion)</SDKBundleVersion>
|
|
|
|
<!-- Fallback to commit count when patch number is not set. This happens only during CI. -->
|
|
|
|
<SDKBundleVersion Condition=" '$(SDKBundleVersion)' == '' ">$(VersionPrefix).$(CombinedBuildNumberAndRevision)</SDKBundleVersion>
|
2019-12-20 23:58:08 +00:00
|
|
|
</PropertyGroup>
|
2018-10-31 20:56:32 +00:00
|
|
|
</Target>
|
2016-06-28 01:26:57 +00:00
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<Target Name="MsiTargetsSetupInputOutputs"
|
2020-10-21 04:32:16 +00:00
|
|
|
DependsOnTargets="GenerateLayout;SetupWixProperties;SetupTemplatesMsis">
|
2018-10-31 20:56:32 +00:00
|
|
|
<!-- Consumed By Publish -->
|
|
|
|
<ItemGroup>
|
2020-10-21 04:32:16 +00:00
|
|
|
<GeneratedInstallers Include="$(SdkMSIInstallerFile);$(CombinedFrameworkSdkHostMSIInstallerFile);$(SdkPlaceholderMSIInstallerFile)" />
|
|
|
|
<GeneratedInstallers Include="@(TemplatesMsiComponent->'%(MSIInstallerFile)')" />
|
2018-10-31 20:56:32 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
[master] Update dependencies from dotnet/arcade (#8726)
* Update dependencies from https://github.com/dotnet/arcade build 20200924.4
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20474.4
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20200928.3
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20478.3
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20506.7
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201009.12
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20509.12
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201020.8
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20520.8
Dependency coherency updates
Microsoft.SourceLink.GitHub,XliffTasks
From Version 1.1.0-beta-20464-02 -> To Version 1.1.0-beta-20519-02 (parent: Microsoft.DotNet.Arcade.Sdk
* Update FileInfoAssertions.cs
* Update FileInfoAssertions.cs
* Use tasks provided by Microsoft.DotNet.Build.Tasks.Installers when provided.
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2020-10-23 07:44:02 +00:00
|
|
|
<GenerateMsiVersion BuildNumber="$(CombinedBuildNumberAndRevision)"
|
|
|
|
Major="$(VersionMajor)"
|
|
|
|
Minor="$(VersionMinor)"
|
|
|
|
Patch="$(VersionFeature)">
|
2018-10-31 20:56:32 +00:00
|
|
|
<Output TaskParameter="MsiVersion" PropertyName="MsiVersion" />
|
|
|
|
</GenerateMsiVersion>
|
|
|
|
|
2019-07-22 17:06:16 +00:00
|
|
|
<GenerateGuidFromName Name="$(SdkMSIInstallerFile)">
|
[master] Update dependencies from dotnet/arcade (#8726)
* Update dependencies from https://github.com/dotnet/arcade build 20200924.4
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20474.4
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20200928.3
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20478.3
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20506.7
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201009.12
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20509.12
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201020.8
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20520.8
Dependency coherency updates
Microsoft.SourceLink.GitHub,XliffTasks
From Version 1.1.0-beta-20464-02 -> To Version 1.1.0-beta-20519-02 (parent: Microsoft.DotNet.Arcade.Sdk
* Update FileInfoAssertions.cs
* Update FileInfoAssertions.cs
* Use tasks provided by Microsoft.DotNet.Build.Tasks.Installers when provided.
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2020-10-23 07:44:02 +00:00
|
|
|
<Output TaskParameter="GeneratedGuid"
|
2018-10-31 20:56:32 +00:00
|
|
|
PropertyName="SdkInstallerUpgradeCode" />
|
|
|
|
</GenerateGuidFromName>
|
|
|
|
|
2019-08-16 18:56:20 +00:00
|
|
|
<GenerateGuidFromName Name="$(SdkPlaceholderMSIInstallerFile)">
|
[master] Update dependencies from dotnet/arcade (#8726)
* Update dependencies from https://github.com/dotnet/arcade build 20200924.4
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20474.4
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20200928.3
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20478.3
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20506.7
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201009.12
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20509.12
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201020.8
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20520.8
Dependency coherency updates
Microsoft.SourceLink.GitHub,XliffTasks
From Version 1.1.0-beta-20464-02 -> To Version 1.1.0-beta-20519-02 (parent: Microsoft.DotNet.Arcade.Sdk
* Update FileInfoAssertions.cs
* Update FileInfoAssertions.cs
* Use tasks provided by Microsoft.DotNet.Build.Tasks.Installers when provided.
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2020-10-23 07:44:02 +00:00
|
|
|
<Output TaskParameter="GeneratedGuid"
|
2019-08-16 18:56:20 +00:00
|
|
|
PropertyName="SdkPlaceholderInstallerUpgradeCode" />
|
|
|
|
</GenerateGuidFromName>
|
|
|
|
|
2019-02-19 22:21:54 +00:00
|
|
|
<GenerateGuidFromName Name="$(SdkBundleInstallerOutputGuidString)">
|
[master] Update dependencies from dotnet/arcade (#8726)
* Update dependencies from https://github.com/dotnet/arcade build 20200924.4
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20474.4
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20200928.3
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20478.3
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201006.7
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 5.0.0-beta.20506.7
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201009.12
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20509.12
Dependency coherency updates
Microsoft.WindowsDesktop.App.Ref,Microsoft.WindowsDesktop.App,Microsoft.AspNetCore.App.Ref,Microsoft.AspNetCore.App.Ref.Internal,Microsoft.AspNetCore.App.Runtime.win-x64,VS.Redist.Common.AspNetCore.TargetingPack.x64.5.0,dotnet-dev-certs,dotnet-user-secrets,dotnet-watch,Microsoft.Dotnet.WinForms.ProjectTemplates,Microsoft.WindowsDesktop.App.Runtime.win-x64,Microsoft.DotNet.Wpf.ProjectTemplates,Microsoft.FSharp.Compiler,Microsoft.NET.Test.Sdk,Microsoft.NET.ILLink.Tasks,Microsoft.Net.Compilers.Toolset,Microsoft.Build,NuGet.Build.Tasks,Microsoft.SourceLink.GitHub,XliffTasks
From Version 5.0.0-rc.2.20474.5 -> To Version 5.0.0-rc.1.20417.4 (parent: Microsoft.NET.Sdk
* Update dependencies from https://github.com/dotnet/arcade build 20201020.8
Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Arcade.Sdk
From Version 5.0.0-beta.20471.1 -> To Version 6.0.0-beta.20520.8
Dependency coherency updates
Microsoft.SourceLink.GitHub,XliffTasks
From Version 1.1.0-beta-20464-02 -> To Version 1.1.0-beta-20519-02 (parent: Microsoft.DotNet.Arcade.Sdk
* Update FileInfoAssertions.cs
* Update FileInfoAssertions.cs
* Use tasks provided by Microsoft.DotNet.Build.Tasks.Installers when provided.
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
2020-10-23 07:44:02 +00:00
|
|
|
<Output TaskParameter="GeneratedGuid"
|
2018-10-31 20:56:32 +00:00
|
|
|
PropertyName="CombinedFrameworkSDKHostInstallerUpgradeCode" />
|
|
|
|
</GenerateGuidFromName>
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="AcquireWix"
|
|
|
|
DependsOnTargets="SetupWixProperties;MsiTargetsSetupInputOutputs"
|
|
|
|
Inputs="$(WixDownloadSentinel)"
|
|
|
|
Outputs="$(WixDestinationPath)">
|
|
|
|
|
|
|
|
<!-- Setup sentinel to take advantage of incrementality -->
|
|
|
|
<MakeDir Directories="$(WixRoot)" />
|
|
|
|
<WriteLinesToFile
|
|
|
|
File="$(WixDownloadSentinel)"
|
|
|
|
Lines="$(WixVersion)"
|
|
|
|
Overwrite="true"
|
|
|
|
Encoding="Unicode"/>
|
|
|
|
|
|
|
|
<DownloadFile
|
|
|
|
Uri="$(WixDownloadUrl)"
|
|
|
|
DestinationPath="$(WixDestinationPath)"
|
|
|
|
Overwrite="false" />
|
|
|
|
|
|
|
|
<ExtractArchiveToDirectory
|
|
|
|
SourceArchive="$(WixDestinationPath)"
|
|
|
|
DestinationDirectory="$(WixRoot)" />
|
|
|
|
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="GenerateSdkMsi"
|
|
|
|
DependsOnTargets="GenerateLayout;AcquireWix;MsiTargetsSetupInputOutputs;SetSdkBrandingInfo"
|
2019-07-11 00:43:29 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' "
|
|
|
|
Inputs="$(SdkInternalLayoutPath)**/*;
|
|
|
|
$(SdkGenerateMsiPowershellScript)"
|
2019-07-22 17:06:16 +00:00
|
|
|
Outputs="$(SdkMSIInstallerFile)">
|
2018-10-31 20:56:32 +00:00
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateMsiPowershellScript) ^
|
|
|
|
'$(SdkInternalLayoutPath.TrimEnd('\'))' ^
|
2019-07-22 17:06:16 +00:00
|
|
|
'$(SdkMSIInstallerFile)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(WixRoot)' ^
|
2019-09-03 21:33:11 +00:00
|
|
|
'$(ToolsetBrandName)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(MsiVersion)' ^
|
2019-03-01 21:07:12 +00:00
|
|
|
'$(SDKBundleVersion)' ^
|
2019-12-20 21:13:26 +00:00
|
|
|
'$(Version)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(SdkInstallerUpgradeCode)' ^
|
2019-08-16 21:54:47 +00:00
|
|
|
'$(SdkDependencyKeyName)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(Architecture)' ^
|
|
|
|
'$(SdkStableFileIdForApphostTransform)' ^
|
2018-10-31 20:56:32 +00:00
|
|
|
-InformationAction Continue" />
|
2020-08-19 18:58:16 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<SdkMsiWixSrcFiles Include="$(WixRoot)\dotnet.wixobj" />
|
|
|
|
<SdkMsiWixSrcFiles Include="$(WixRoot)\provider.wixobj" />
|
|
|
|
<SdkMsiWixSrcFiles Include="$(WixRoot)\registrykeys.wixobj" />
|
|
|
|
<SdkMsiWixSrcFiles Include="$(WixRoot)\install-files.wixobj" />
|
|
|
|
</ItemGroup>
|
|
|
|
<CreateLightCommandPackageDrop
|
|
|
|
LightCommandWorkingDir="$(LightCommandObjDir)"
|
2020-09-16 19:19:30 +00:00
|
|
|
OutputFolder="$(LightCommandPackagesDir)"
|
2020-08-19 18:58:16 +00:00
|
|
|
NoLogo="true"
|
|
|
|
Cultures="en-us"
|
2020-09-16 19:19:30 +00:00
|
|
|
InstallerFile="$(SdkMSIInstallerFile)"
|
2020-08-19 18:58:16 +00:00
|
|
|
WixExtensions="WixUIExtension;WixDependencyExtension;WixUtilExtension"
|
|
|
|
WixSrcFiles="@(SdkMsiWixSrcFiles)">
|
2020-09-16 19:19:30 +00:00
|
|
|
<Output TaskParameter="OutputFile" PropertyName="_LightCommandPackageNameOutput" />
|
2020-08-19 18:58:16 +00:00
|
|
|
</CreateLightCommandPackageDrop>
|
2018-10-31 20:56:32 +00:00
|
|
|
</Target>
|
2016-06-28 01:26:57 +00:00
|
|
|
|
2019-08-16 18:56:20 +00:00
|
|
|
<Target Name="GenerateSdkPlaceholderMsi"
|
|
|
|
DependsOnTargets="AcquireWix;MsiTargetsSetupInputOutputs"
|
|
|
|
Condition=" '$(OS)' == 'Windows_NT' "
|
|
|
|
Inputs="$(SdkPlaceholderGenerateMsiPowershellScript)"
|
|
|
|
Outputs="$(SdkPlaceholderMSIInstallerFile)">
|
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(SdkPlaceholderGenerateMsiPowershellScript) ^
|
|
|
|
'$(SdkPlaceholderMSIInstallerFile)' ^
|
|
|
|
'$(WixRoot)' ^
|
|
|
|
'$(SdkBrandName)' ^
|
|
|
|
'$(MsiVersion)' ^
|
|
|
|
'$(SDKBundleVersion)' ^
|
2019-12-20 21:13:26 +00:00
|
|
|
'$(Version)' ^
|
2019-08-16 18:56:20 +00:00
|
|
|
'$(SdkPlaceholderInstallerUpgradeCode)' ^
|
2019-08-16 21:54:47 +00:00
|
|
|
'$(SdkPlaceholderDependencyKeyName)' ^
|
2019-08-16 18:56:20 +00:00
|
|
|
'$(Architecture)' ^
|
|
|
|
-InformationAction Continue" />
|
2020-08-19 18:58:16 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<SdkPlaceholdMsiWixSrcFiles Include="$(WixRoot)\provider.wixobj" />
|
|
|
|
<SdkPlaceholdMsiWixSrcFiles Include="$(WixRoot)\sdkplaceholder.wixobj" />
|
|
|
|
</ItemGroup>
|
|
|
|
<CreateLightCommandPackageDrop
|
|
|
|
LightCommandWorkingDir="$(LightCommandObjDir)"
|
2020-09-16 19:19:30 +00:00
|
|
|
OutputFolder="$(LightCommandPackagesDir)"
|
2020-08-19 18:58:16 +00:00
|
|
|
NoLogo="true"
|
|
|
|
Cultures="en-us"
|
2020-09-16 19:19:30 +00:00
|
|
|
InstallerFile="$(SdkPlaceholderMSIInstallerFile)"
|
2020-08-19 18:58:16 +00:00
|
|
|
WixExtensions="WixUIExtension;WixDependencyExtension;WixUtilExtension"
|
|
|
|
WixSrcFiles="@(SdkPlaceholdMsiWixSrcFiles)"
|
|
|
|
AdditionalBasePaths="$(MSBuildThisFileDirectory)packaging/windows/clisdk">
|
2020-09-16 19:19:30 +00:00
|
|
|
<Output TaskParameter="OutputFile" PropertyName="_LightCommandPackageNameOutput" />
|
2020-08-19 18:58:16 +00:00
|
|
|
</CreateLightCommandPackageDrop>
|
2019-08-16 18:56:20 +00:00
|
|
|
</Target>
|
|
|
|
|
2019-07-22 15:55:23 +00:00
|
|
|
<Target Name="GenerateTemplatesMsis"
|
|
|
|
DependsOnTargets="GenerateLayout;AcquireWix;MsiTargetsSetupInputOutputs;SetSdkBrandingInfo;SetupTemplatesMsis"
|
2020-09-10 10:04:54 +00:00
|
|
|
Condition="$(ProductMonikerRid.StartsWith('win')) And '$(Architecture)' != 'arm'"
|
2020-08-19 18:58:16 +00:00
|
|
|
Inputs="@(TemplatesMsiComponent);$(TemplatesGenerateMsiPowershellScript)"
|
|
|
|
Outputs="%(TemplatesMsiComponent.MSIInstallerFile)">
|
2019-07-11 00:43:29 +00:00
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(TemplatesGenerateMsiPowershellScript) ^
|
2019-07-24 16:08:11 +00:00
|
|
|
'%(TemplatesMsiComponent.LayoutPath)' ^
|
2020-08-19 18:58:16 +00:00
|
|
|
'%(TemplatesMsiComponent.MSIInstallerFile)' ^
|
2019-07-11 00:43:29 +00:00
|
|
|
'$(WixRoot)' ^
|
2020-08-19 18:58:16 +00:00
|
|
|
'%(TemplatesMsiComponent.BrandName)' ^
|
|
|
|
'%(TemplatesMsiComponent.MsiVersion)' ^
|
|
|
|
'%(TemplatesMsiComponent.MsiVersion)' ^
|
2019-07-30 21:50:31 +00:00
|
|
|
'$(FullNugetVersion)' ^
|
2020-08-19 18:58:16 +00:00
|
|
|
'%(TemplatesMsiComponent.UpgradeCode)' ^
|
|
|
|
'%(TemplatesMsiComponent.DependencyKeyName)' ^
|
2019-07-11 00:43:29 +00:00
|
|
|
'$(Architecture)' ^
|
|
|
|
-InformationAction Continue" />
|
2020-08-19 18:58:16 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<TemplatesMsiWixSrcFiles Include="$(WixRoot)\provider.wixobj" />
|
|
|
|
<TemplatesMsiWixSrcFiles Include="$(WixRoot)\templates.wixobj" />
|
|
|
|
<TemplatesMsiWixSrcFiles Include="$(WixRoot)\template-install-files.wixobj" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<CreateLightCommandPackageDrop
|
|
|
|
LightCommandWorkingDir="$(LightCommandObjDir)"
|
2020-09-16 19:19:30 +00:00
|
|
|
OutputFolder="$(LightCommandPackagesDir)"
|
2020-08-19 18:58:16 +00:00
|
|
|
NoLogo="true"
|
|
|
|
Cultures="en-us"
|
2020-09-16 19:19:30 +00:00
|
|
|
InstallerFile="%(TemplatesMsiComponent.MSIInstallerFile)"
|
2020-08-19 18:58:16 +00:00
|
|
|
WixExtensions="WixUIExtension;WixDependencyExtension;WixUtilExtension"
|
|
|
|
WixSrcFiles="@(TemplatesMsiWixSrcFiles)">
|
2020-09-16 19:19:30 +00:00
|
|
|
<Output TaskParameter="OutputFile" PropertyName="_LightCommandPackageNameOutput" />
|
2020-08-19 18:58:16 +00:00
|
|
|
</CreateLightCommandPackageDrop>
|
2019-07-11 00:43:29 +00:00
|
|
|
</Target>
|
|
|
|
|
2019-07-22 15:55:23 +00:00
|
|
|
<Target Name="SetupTemplatesMsis">
|
|
|
|
<PropertyGroup>
|
|
|
|
<TemplatesGenerateMsiPowershellScript>$(MSBuildThisFileDirectory)packaging/windows/clisdk/generatetemplatesmsi.ps1</TemplatesGenerateMsiPowershellScript>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2020-10-21 04:32:16 +00:00
|
|
|
<TemplatesMsiComponent Include="@(TemplatesComponents)">
|
|
|
|
<LayoutPath>$(BaseOutputPath)$(Configuration)\templates-%(TemplatesComponents.TemplatesMajorMinorVersion)</LayoutPath>
|
|
|
|
<BrandName>%(TemplatesComponents.BrandNameWithoutVersion) $(Version)</BrandName>
|
|
|
|
<MsiVersion>%(TemplatesComponents.MSIVersion)</MsiVersion>
|
|
|
|
<UpgradeCode>%(TemplatesComponents.InstallerUpgradeCode)</UpgradeCode>
|
|
|
|
<DependencyKeyName>NetCore_Templates_%(TemplatesComponents.TemplatesMajorMinorVersion)</DependencyKeyName>
|
2019-07-22 15:55:23 +00:00
|
|
|
</TemplatesMsiComponent>
|
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<Target Name="GenerateSdkBundle"
|
2019-07-22 15:55:23 +00:00
|
|
|
DependsOnTargets="GenerateLayout;AcquireWix;MsiTargetsSetupInputOutputs;GenerateSdkMsi;SignSdkMsi;GenerateTemplatesMsis;SignTemplatesMsis"
|
2019-07-11 00:43:29 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' "
|
2019-07-22 17:06:16 +00:00
|
|
|
Inputs="$(SdkMSIInstallerFile);
|
2016-06-28 01:26:57 +00:00
|
|
|
$(DownloadedSharedFrameworkInstallerFile);
|
|
|
|
$(DownloadedHostFxrInstallerFile);
|
|
|
|
$(DownloadedSharedHostInstallerFile);
|
|
|
|
$(SdkGenerateBundlePowershellScript)"
|
2019-07-22 17:06:16 +00:00
|
|
|
Outputs="$(CombinedFrameworkSdkHostMSIInstallerFile)">
|
2020-10-21 04:32:16 +00:00
|
|
|
|
|
|
|
<!-- Choose "latest" template MSI to go in bundle. -->
|
|
|
|
<ItemGroup>
|
|
|
|
<LatestTemplateInstallerComponent Include="@(TemplatesMsiComponent)"
|
|
|
|
Condition="'%(TemplatesMajorMinorVersion)' == '$(MajorMinorVersion)'"/>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
|
|
<LatestTemplateMsiInstallerFile>@(LatestTemplateInstallerComponent->'%(MSIInstallerFile)')</LatestTemplateMsiInstallerFile>
|
|
|
|
</PropertyGroup>
|
2018-10-31 20:56:32 +00:00
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(SdkGenerateBundlePowershellScript) ^
|
2019-07-22 17:06:16 +00:00
|
|
|
'$(SdkMSIInstallerFile)' ^
|
2019-09-09 19:38:32 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedAspNetCoreSharedFxWixLibFileName)' ^
|
2018-12-06 18:49:10 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedSharedFrameworkInstallerFileName)' ^
|
|
|
|
'$(DownloadsFolder)$(DownloadedHostFxrInstallerFileName)' ^
|
|
|
|
'$(DownloadsFolder)$(DownloadedSharedHostInstallerFileName)' ^
|
|
|
|
'$(DownloadsFolder)$(DownloadedWinFormsAndWpfSharedFrameworkInstallerFileName)' ^
|
2019-02-21 00:36:11 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedNetCoreAppTargetingPackInstallerFileName)' ^
|
2019-04-10 15:55:46 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedNetStandardTargetingPackInstallerFileName)' ^
|
2019-04-17 19:53:05 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedNetCoreAppHostPackInstallerFileName)' ^
|
2019-09-24 17:36:04 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedAlternateNetCoreAppHostPackInstallerFileName)' ^
|
|
|
|
'$(DownloadsFolder)$(DownloadedArmNetCoreAppHostPackInstallerFileName)' ^
|
|
|
|
'$(DownloadsFolder)$(DownloadedArm64NetCoreAppHostPackInstallerFileName)' ^
|
2019-02-21 00:36:11 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedAspNetTargetingPackInstallerFileName)' ^
|
2019-03-19 21:15:32 +00:00
|
|
|
'$(DownloadsFolder)$(DownloadedWindowsDesktopTargetingPackInstallerFileName)' ^
|
2020-10-21 04:32:16 +00:00
|
|
|
'$(LatestTemplateMsiInstallerFile)' ^
|
2019-07-22 17:06:16 +00:00
|
|
|
'$(CombinedFrameworkSdkHostMSIInstallerFile)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(WixRoot)' ^
|
|
|
|
'$(SdkBrandName)' ^
|
|
|
|
'$(MsiVersion)' ^
|
2019-03-01 21:07:12 +00:00
|
|
|
'$(SDKBundleVersion)' ^
|
2019-12-20 21:13:26 +00:00
|
|
|
'$(Version)' ^
|
Prepare for 3.0.1xx servicing
We were bumping targeting pack, framework-dependent default
runtime version, and self-contained default (latest) runtime
version in unison. This only works for previews where these
versions are all the same always. Now that we're servicing 3.0,
we:
1. Pin targeting packs to 3.0.0
2. Fix default framework-dependent runtime version at 3.0.0
This change also:
* Removes dependencies on legacy/internal netcoreapp packages. We
now use Microsoft.NETCore.App.Internal version exclusively to
calculate the blob storage path for core-setup.
* Uses PackageDownload for all templates, including
latest. PackageReference had been used for latest only because
it hid another bug with the netcoreapp reference of
redist.csproj that is fixed here. That reference is now a
FrameworkReference as it should be.
* Removes a bunch of shenanigans from
GenerateBundledVersions.props that were causing issues with
above. One casualty of that is that we hard code the RID lists
for runtime pack, which I don't think is too bad, and actually
will make it easier to merge in source build patches.
* Cleans up how runtime and targeting pack versions are
referenced throughout, removing incorrect assumptions about
them being the same.
* Incorporates a prior closed PR to use suffixed version for blob
storage, even when assets coming from blob storage are
stabilized. It needed changes to merge with this.
Note:
* A similar theoretical servicing issue exists for the versions
of apphost, hostfxr, shared host, which are still assumed to be
the same as the runtime version in several places. If we choose
to service those independently, more work is required.
* There will be a 3.0.1 ASP.NET targeting pack, and so we will
have to unpin that once it is ready. This change establishes
the baseline of all targeting packs being pinnned, and they can
be unpinned in the (hopefully rare) cases where they need to be
serviced.
2019-10-03 17:33:20 +00:00
|
|
|
'$(MicrosoftWindowsDesktopAppRuntimePackageVersion)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(CombinedFrameworkSDKHostInstallerUpgradeCode)' ^
|
2019-08-16 21:54:47 +00:00
|
|
|
'$(SdkDependencyKeyName)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(Architecture)' ^
|
Prepare for 3.0.1xx servicing
We were bumping targeting pack, framework-dependent default
runtime version, and self-contained default (latest) runtime
version in unison. This only works for previews where these
versions are all the same always. Now that we're servicing 3.0,
we:
1. Pin targeting packs to 3.0.0
2. Fix default framework-dependent runtime version at 3.0.0
This change also:
* Removes dependencies on legacy/internal netcoreapp packages. We
now use Microsoft.NETCore.App.Internal version exclusively to
calculate the blob storage path for core-setup.
* Uses PackageDownload for all templates, including
latest. PackageReference had been used for latest only because
it hid another bug with the netcoreapp reference of
redist.csproj that is fixed here. That reference is now a
FrameworkReference as it should be.
* Removes a bunch of shenanigans from
GenerateBundledVersions.props that were causing issues with
above. One casualty of that is that we hard code the RID lists
for runtime pack, which I don't think is too bad, and actually
will make it easier to merge in source build patches.
* Cleans up how runtime and targeting pack versions are
referenced throughout, removing incorrect assumptions about
them being the same.
* Incorporates a prior closed PR to use suffixed version for blob
storage, even when assets coming from blob storage are
stabilized. It needed changes to merge with this.
Note:
* A similar theoretical servicing issue exists for the versions
of apphost, hostfxr, shared host, which are still assumed to be
the same as the runtime version in several places. If we choose
to service those independently, more work is required.
* There will be a 3.0.1 ASP.NET targeting pack, and so we will
have to unpin that once it is ready. This change establishes
the baseline of all targeting packs being pinnned, and they can
be unpinned in the (hopefully rare) cases where they need to be
serviced.
2019-10-03 17:33:20 +00:00
|
|
|
'$(MicrosoftNETCoreAppRuntimePackageVersion)' ^
|
|
|
|
'$(MicrosoftAspNetCoreAppRuntimePackageVersion)' ^
|
2019-02-19 22:21:54 +00:00
|
|
|
'$(CliProductBandVersion)' ^
|
2018-10-31 20:56:32 +00:00
|
|
|
-InformationAction Continue " />
|
2020-08-19 18:58:16 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<BundleMsiWixSrcFiles Include="$(WixRoot)\bundle.wixobj" />
|
|
|
|
<BundleMsiWixSrcFiles Include="$(DownloadsFolder)$(DownloadedAspNetCoreSharedFxWixLibFileName)" />
|
|
|
|
</ItemGroup>
|
|
|
|
<CreateLightCommandPackageDrop
|
|
|
|
LightCommandWorkingDir="$(LightCommandObjDir)"
|
2020-09-16 19:19:30 +00:00
|
|
|
OutputFolder="$(LightCommandPackagesDir)"
|
2020-08-19 18:58:16 +00:00
|
|
|
NoLogo="true"
|
|
|
|
Cultures="en-us"
|
2020-09-16 19:19:30 +00:00
|
|
|
InstallerFile="$(CombinedFrameworkSdkHostMSIInstallerFile)"
|
2020-08-19 18:58:16 +00:00
|
|
|
WixExtensions="WixBalExtension;WixUtilExtension;WixTagExtension"
|
|
|
|
WixSrcFiles="@(BundleMsiWixSrcFiles)"
|
|
|
|
AdditionalBasePaths="$(MSBuildThisFileDirectory)packaging/windows/clisdk">
|
2020-09-16 19:19:30 +00:00
|
|
|
<Output TaskParameter="OutputFile" PropertyName="_LightCommandPackageNameOutput" />
|
2020-08-19 18:58:16 +00:00
|
|
|
</CreateLightCommandPackageDrop>
|
2018-10-31 20:56:32 +00:00
|
|
|
</Target>
|
|
|
|
|
2019-06-10 23:00:53 +00:00
|
|
|
<Target Name="GenerateToolsetNupkg"
|
|
|
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs;GenerateSdkMsi;SignSdkMsi"
|
2019-07-11 00:43:29 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' "
|
2019-07-22 17:06:16 +00:00
|
|
|
Inputs="$(SdkMSIInstallerFile);
|
2019-06-10 23:00:53 +00:00
|
|
|
$(ToolsetInstallerNuspecFile);
|
|
|
|
$(GenerateNupkgPowershellScript)"
|
|
|
|
Outputs="$(ToolsetInstallerNupkgFile)">
|
2016-10-05 20:53:15 +00:00
|
|
|
|
2019-06-10 23:00:53 +00:00
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'$(ArtifactsDir)' ^
|
2019-07-22 17:06:16 +00:00
|
|
|
'$(SdkMSIInstallerFile)' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(FullNugetVersion)' ^
|
2019-06-10 23:00:53 +00:00
|
|
|
'$(ToolsetInstallerNuspecFile)' ^
|
|
|
|
'$(ToolsetInstallerNupkgFile)' ^
|
|
|
|
'$(Architecture)' ^
|
2019-09-03 21:33:11 +00:00
|
|
|
'$(MajorMinorVersion)'" />
|
2018-10-31 20:56:32 +00:00
|
|
|
</Target>
|
2016-10-05 20:53:15 +00:00
|
|
|
|
2019-08-16 18:56:20 +00:00
|
|
|
<Target Name="GenerateSdkPlaceholderNupkg"
|
|
|
|
DependsOnTargets="MsiTargetsSetupInputOutputs;GenerateSdkPlaceholderMsi;SignSdkPlaceholderMsi"
|
|
|
|
Condition=" '$(OS)' == 'Windows_NT' "
|
|
|
|
Inputs="$(SdkPlaceholderMSIInstallerFile);
|
|
|
|
$(SdkPlaceholderInstallerNuspecFile);
|
|
|
|
$(GenerateNupkgPowershellScript)"
|
|
|
|
Outputs="$(SdkPlaceholderInstallerNupkgFile)">
|
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
|
|
|
'$(ArtifactsDir)' ^
|
|
|
|
'$(SdkPlaceholderMSIInstallerFile)' ^
|
|
|
|
'$(FullNugetVersion)' ^
|
|
|
|
'$(SdkPlaceholderInstallerNuspecFile)' ^
|
|
|
|
'$(SdkPlaceholderInstallerNupkgFile)' ^
|
|
|
|
'$(Architecture)' ^
|
|
|
|
'$(MajorMinorVersion)'" />
|
|
|
|
</Target>
|
|
|
|
|
2019-07-22 15:55:23 +00:00
|
|
|
<Target Name="GenerateTemplatesNupkgs"
|
|
|
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs;GenerateTemplatesMsis;SignTemplatesMsis;SetupTemplatesNupkgs"
|
|
|
|
Condition="$(ProductMonikerRid.StartsWith('win')) And !$(Architecture.StartsWith('arm'))"
|
2019-07-22 17:06:16 +00:00
|
|
|
Inputs="@(TemplatesNupkgComponent->'%(MSIInstallerFile)');
|
2019-07-11 00:43:29 +00:00
|
|
|
$(TemplatesInstallerNuspecFile);
|
|
|
|
$(GenerateNupkgPowershellScript)"
|
2019-07-22 15:55:23 +00:00
|
|
|
Outputs="@(TemplatesNupkgComponent->'%(NupkgFile)')">
|
2019-07-11 00:43:29 +00:00
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'$(ArtifactsDir)' ^
|
2019-07-22 17:06:16 +00:00
|
|
|
'%(TemplatesNupkgComponent.MSIInstallerFile)' ^
|
2019-07-30 21:50:31 +00:00
|
|
|
'$(FullNugetVersion)' ^
|
2019-07-11 00:43:29 +00:00
|
|
|
'$(TemplatesInstallerNuspecFile)' ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'@(TemplatesNupkgComponent->'%(NupkgFile)')' ^
|
2019-07-24 16:08:11 +00:00
|
|
|
'$(Architecture)' ^
|
|
|
|
'@(TemplatesNupkgComponent->'%(MajorMinorVersion)')'" />
|
2019-07-22 15:55:23 +00:00
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="SetupTemplatesNupkgs">
|
|
|
|
<PropertyGroup>
|
|
|
|
<TemplatesInstallerNuspecFile>$(MSBuildThisFileDirectory)packaging/windows/clisdk/VS.Redist.Common.NetCore.Templates.nuspec</TemplatesInstallerNuspecFile>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2020-10-21 04:32:16 +00:00
|
|
|
<TemplatesNupkgComponent Include="@(TemplatesComponents->'%(Identity)Nupkg')">
|
|
|
|
<NupkgFile>$(ArtifactsNonShippingPackagesDir)VS.Redist.Common.NetCore.Templates.%(TemplatesMajorMinorVersion).$(FullNugetVersion).nupkg</NupkgFile>
|
|
|
|
<MajorMinorVersion>%(TemplatesMajorMinorVersion)</MajorMinorVersion>
|
2019-07-22 15:55:23 +00:00
|
|
|
</TemplatesNupkgComponent>
|
|
|
|
</ItemGroup>
|
2020-10-21 04:32:16 +00:00
|
|
|
|
2019-07-11 00:43:29 +00:00
|
|
|
</Target>
|
|
|
|
|
2019-01-09 00:02:47 +00:00
|
|
|
<Target Name="GenerateVSToolsNupkg"
|
2019-06-10 23:00:53 +00:00
|
|
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs"
|
2019-07-11 00:43:29 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x86' "
|
2019-01-09 00:02:47 +00:00
|
|
|
Inputs="$(RedistLayoutPath)/**/*;
|
|
|
|
$(VSToolsNuspecFile);
|
2019-06-10 23:00:53 +00:00
|
|
|
$(GenerateNupkgPowershellScript)"
|
2019-01-09 00:02:47 +00:00
|
|
|
Outputs="$(VSToolsNupkgFile)">
|
|
|
|
|
2019-06-10 23:00:53 +00:00
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'$(ArtifactsDir)' ^
|
|
|
|
'$(RedistLayoutPath.TrimEnd('\'))' ^
|
|
|
|
'$(FullNugetVersion)' ^
|
|
|
|
'$(VSToolsNuspecFile)' ^
|
|
|
|
'$(VSToolsNupkgFile)' ^
|
|
|
|
'$(Architecture)'" />
|
2019-01-09 00:02:47 +00:00
|
|
|
</Target>
|
|
|
|
|
2019-02-15 02:21:23 +00:00
|
|
|
<Target Name="GenerateVSToolsResolverNupkg"
|
2019-06-10 23:00:53 +00:00
|
|
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs"
|
2019-07-11 00:43:29 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' and '$(Architecture)' == 'x86' "
|
2019-02-15 02:21:23 +00:00
|
|
|
Inputs="$(SdkResolverLayoutPath)/**/*;
|
|
|
|
$(VSToolsResolverNuspecFile);
|
2019-06-10 23:00:53 +00:00
|
|
|
$(GenerateNupkgPowershellScript)"
|
2019-02-15 02:21:23 +00:00
|
|
|
Outputs="$(VSToolsResolverNupkgFile)">
|
|
|
|
|
2019-06-10 23:00:53 +00:00
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'$(ArtifactsDir)' ^
|
|
|
|
'$(SdkResolverLayoutPath.TrimEnd('\'))' ^
|
|
|
|
'$(FullNugetVersion)' ^
|
|
|
|
'$(VSToolsResolverNuspecFile)' ^
|
|
|
|
'$(VSToolsResolverNupkgFile)'" />
|
2019-02-15 02:21:23 +00:00
|
|
|
</Target>
|
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<Target Name="GenerateSdkMSBuildExtensionsNupkg"
|
2019-06-24 20:24:27 +00:00
|
|
|
DependsOnTargets="GenerateLayout;GenerateMSBuildExtensions;MsiTargetsSetupInputOutputs"
|
2018-10-31 20:56:32 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' "
|
|
|
|
Inputs="$(MSBuildExtensionsLayoutDirectory)/**/*;
|
2019-06-10 23:00:53 +00:00
|
|
|
$(SdkMSBuildExtensionsNuspecFile);
|
|
|
|
$(GenerateNupkgPowershellScript)"
|
2018-10-31 20:56:32 +00:00
|
|
|
Outputs="$(SdkMSBuildExtensionsNupkgFile);$(SdkMSBuildExtensionsSwrFile)">
|
2017-03-24 00:25:40 +00:00
|
|
|
|
2019-06-24 20:24:27 +00:00
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
2019-07-22 15:55:23 +00:00
|
|
|
'$(ArtifactsDir)' ^
|
2019-06-24 20:24:27 +00:00
|
|
|
'$(MSBuildExtensionsLayoutDirectory.TrimEnd('\'))' ^
|
2018-09-26 20:15:34 +00:00
|
|
|
'$(FullNugetVersion)' ^
|
|
|
|
'$(SdkMSBuildExtensionsNuspecFile)' ^
|
2017-03-24 00:25:40 +00:00
|
|
|
'$(SdkMSBuildExtensionsNupkgFile)'" />
|
2017-06-09 18:18:46 +00:00
|
|
|
|
|
|
|
<GenerateMSBuildExtensionsSWR MSBuildExtensionsLayoutDirectory="$(MSBuildExtensionsLayoutDirectory)"
|
2019-06-24 20:24:27 +00:00
|
|
|
OutputFile="$(SdkMSBuildExtensionsSwrFile)"/>
|
2018-10-31 20:56:32 +00:00
|
|
|
|
|
|
|
</Target>
|
|
|
|
|
2020-09-16 04:26:58 +00:00
|
|
|
<Target Name="GenerateVSTemplateLocatorNupkg"
|
|
|
|
DependsOnTargets="GenerateLayout;MsiTargetsSetupInputOutputs"
|
|
|
|
Condition=" '$(OS)' == 'Windows_NT' And '$(Architecture)' == 'x64' "
|
|
|
|
Inputs="$(MSBuildExtensionsLayoutDirectory)/**/*;
|
|
|
|
$(VSTemplateLocatorNuspecFile);
|
|
|
|
$(GenerateNupkgPowershellScript)"
|
|
|
|
Outputs="$(VSTemplateLocatorNupkgFile)">
|
|
|
|
|
|
|
|
<Exec Command="powershell -NoProfile -NoLogo $(GenerateNupkgPowershellScript) ^
|
|
|
|
'$(ArtifactsDir)' ^
|
|
|
|
'$(VSTemplateLocatorLayoutPath.TrimEnd('\'))' ^
|
|
|
|
'$(FullNugetVersion)' ^
|
|
|
|
'$(VSTemplateLocatorNuspecFile)' ^
|
|
|
|
'$(VSTemplateLocatorNupkgFile)'" />
|
|
|
|
|
|
|
|
</Target>
|
|
|
|
|
2018-10-31 20:56:32 +00:00
|
|
|
<Target Name="GenerateMsis"
|
|
|
|
DependsOnTargets="GenerateLayout;
|
2016-06-28 01:26:57 +00:00
|
|
|
MsiTargetsSetupInputOutputs;
|
|
|
|
AcquireWix;
|
|
|
|
GenerateSdkMsi;
|
2018-12-06 18:49:10 +00:00
|
|
|
SignSdkMsi;
|
2019-07-22 15:55:23 +00:00
|
|
|
GenerateTemplatesMsis;
|
|
|
|
SignTemplatesMsis;
|
2016-06-28 01:26:57 +00:00
|
|
|
GenerateSdkBundle;
|
2018-12-06 18:49:10 +00:00
|
|
|
SignSdkBundle;
|
2019-08-16 18:56:20 +00:00
|
|
|
GenerateSdkPlaceholderMsi;
|
|
|
|
SignSdkPlaceholderMsi;
|
2019-06-10 23:00:53 +00:00
|
|
|
GenerateToolsetNupkg;
|
2019-07-22 15:55:23 +00:00
|
|
|
GenerateTemplatesNupkgs;
|
2019-08-16 18:56:20 +00:00
|
|
|
GenerateSdkPlaceholderNupkg;
|
2019-01-09 00:02:47 +00:00
|
|
|
GenerateVSToolsNupkg;
|
2019-02-15 02:21:23 +00:00
|
|
|
GenerateVSToolsResolverNupkg;
|
2020-09-16 04:26:58 +00:00
|
|
|
GenerateSdkMSBuildExtensionsNupkg;
|
|
|
|
GenerateVSTemplateLocatorNupkg"
|
2020-09-10 10:04:54 +00:00
|
|
|
Condition=" '$(OS)' == 'Windows_NT' and '$(Architecture)' != 'arm' " />
|
2016-06-28 01:26:57 +00:00
|
|
|
|
2018-12-07 02:22:29 +00:00
|
|
|
|
2016-06-28 01:26:57 +00:00
|
|
|
</Project>
|