48 lines
2.5 KiB
XML
48 lines
2.5 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="ArtifactNameWithVersionSdk=$(ArtifactNameWithVersionSdk);
|
|
CLIBuildDll=$(CLIBuildDll);
|
|
CLISdkRoot=$(Stage2Directory)/sdk;
|
|
DownloadedHostFxrInstallerFile=$(DownloadedHostFxrInstallerFile);
|
|
DownloadedSharedFrameworkInstallerFile=$(DownloadedSharedFrameworkInstallerFile);
|
|
DownloadedSharedHostInstallerFile=$(DownloadedSharedHostInstallerFile);
|
|
HostFxrVersion=$(HostFxrVersion);
|
|
InstallerExtension=$(InstallerExtension);
|
|
IntermediateDirectory=$(IntermediateDirectory);
|
|
OSName=$(OSName);
|
|
PackagesDirectory=$(PackagesDirectory);
|
|
RepoRoot=$(RepoRoot);
|
|
SdkBrandName=$(SdkBrandName);
|
|
SdkVersion=$(SdkVersion);
|
|
SharedFrameworkBrandName=$(SharedFrameworkBrandName);
|
|
SharedFrameworkName=$(SharedFrameworkName);
|
|
SharedFrameworkVersion=$(SharedFrameworkVersion);
|
|
ToolPath=$(Stage2Directory);">
|
|
<Output TaskParameter="GeneratedInstallers"
|
|
ItemName="GeneratedInstallers" />
|
|
</MSBuild>
|
|
</Target>
|
|
|
|
<Target Name="Package"
|
|
DependsOnTargets="BuildDotnetCliBuildFramework;
|
|
Init;
|
|
Layout;
|
|
GenerateNugetPackages;
|
|
GenerateArchives;
|
|
GenerateInstallers" />
|
|
</Project>
|