dotnet-installer/build/Microsoft.DotNet.Cli.Package.targets
2016-08-26 15:46:08 -07:00

41 lines
2 KiB
XML

<?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" />
<Target Name="GenerateDebs"
DependsOnTargets="Init;"
Condition=" '$(OSName)' == 'ubuntu' ">
<MSBuild
BuildInParallel="False"
Projects="$(RepoRoot)/build/package/Microsoft.DotNet.Cli.Installer.DEB.proj"
Properties="CliSdkRoot=$(Stage2Directory)/sdk;
RepoRoot=$(RepoRoot);
PackagesDirectory=$(PackagesDirectory);
IntermediateDirectory=$(IntermediateDirectory);
HostFxrVersion=$(HostFxrVersion);
SdkVersion=$(SdkVersion);
SharedFrameworkName=$(SharedFrameworkName);
SharedFrameworkVersion=$(SharedFrameworkVersion);
SharedFrameworkBrandName=$(SharedFrameworkBrandName);
SdkBrandName=$(SdkBrandName);"
ToolsVersion="4.0"
UnloadProjectsOnCompletion="False"
UseResultsCache="True">
</MSBuild>
</Target>
<Target Name="Package"
DependsOnTargets="BuildDotnetCliBuildFramework;
Init;
Layout;
GenerateNugetPackages;
GenerateArchives;
GenerateInstallers" />
</Project>