dotnet-installer/build/Microsoft.DotNet.Cli.Package.targets

50 lines
2.5 KiB
Text
Raw Normal View History

2016-06-28 01:26:57 +00:00
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Layout" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)/package/Microsoft.DotNet.Cli.Layout.targets" />
<Import Project="$(MSBuildThisFileDirectory)/package/Microsoft.DotNet.Cli.Archive.targets" />
<Import Project="$(MSBuildThisFileDirectory)/package/Microsoft.DotNet.Cli.Nupkg.targets" />
<Import Project="$(MSBuildThisFileDirectory)/package/Microsoft.DotNet.Cli.Installer.MSI.targets" />
<Import Project="$(MSBuildThisFileDirectory)/package/Microsoft.DotNet.Cli.Installer.PKG.targets" />
<Target Name="GenerateInstallers"
DependsOnTargets="Init;Layout;GeneratePkgs;GenerateDebs;GenerateMsis" />
2016-08-25 22:53:15 +00:00
<Target Name="GenerateDebs"
DependsOnTargets="Init;"
Condition=" '$(OSName)' == 'ubuntu' ">
<MSBuild
2016-08-29 18:18:34 +00:00
BuildInParallel="True"
2016-08-25 22:53:15 +00:00
Projects="$(RepoRoot)/build/package/Microsoft.DotNet.Cli.Installer.DEB.proj"
2016-08-27 22:57:14 +00:00
Properties="ArtifactNameWithVersionSdk=$(ArtifactNameWithVersionSdk);
CLIBuildDll=$(CLIBuildDll);
2016-08-28 00:49:21 +00:00
CLISdkRoot=$(Stage2Directory)/sdk;
2016-08-27 22:57:14 +00:00
DownloadedHostFxrInstallerFile=$(DownloadedHostFxrInstallerFile);
DownloadedSharedFrameworkInstallerFile=$(DownloadedSharedFrameworkInstallerFile);
2016-08-28 00:49:21 +00:00
DownloadedSharedHostInstallerFile=$(DownloadedSharedHostInstallerFile);
2016-08-25 22:53:15 +00:00
HostFxrVersion=$(HostFxrVersion);
2016-08-28 00:49:21 +00:00
InstallerExtension=$(InstallerExtension);
IntermediateDirectory=$(IntermediateDirectory);
OSName=$(OSName);
PackagesDirectory=$(PackagesDirectory);
RepoRoot=$(RepoRoot);
SdkBrandName=$(SdkBrandName);
2016-08-25 22:53:15 +00:00
SdkVersion=$(SdkVersion);
2016-08-28 00:49:21 +00:00
SharedFrameworkBrandName=$(SharedFrameworkBrandName);
2016-08-25 22:53:15 +00:00
SharedFrameworkName=$(SharedFrameworkName);
SharedFrameworkVersion=$(SharedFrameworkVersion);
2016-08-28 04:10:23 +00:00
ToolPath=$(Stage2Directory);"
Targets="GenerateDebs">
<Output TaskParameter="TargetOutputs"
2016-08-28 00:49:21 +00:00
ItemName="GeneratedInstallers" />
</MSBuild>
2016-08-25 22:53:15 +00:00
</Target>
2016-06-28 01:26:57 +00:00
<Target Name="Package"
DependsOnTargets="BuildDotnetCliBuildFramework;
Init;
Layout;
GenerateNugetPackages;
GenerateArchives;
GenerateInstallers" />
</Project>