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">
|
2017-02-23 18:37:48 +00:00
|
|
|
<PropertyGroup>
|
2017-02-27 19:06:44 +00:00
|
|
|
<PackagingBuildBasePath>$(CompilationDirectory)/forPackaging</PackagingBuildBasePath>
|
2017-02-23 18:37:48 +00:00
|
|
|
</PropertyGroup>
|
2016-07-26 04:29:59 +00:00
|
|
|
|
2016-07-15 22:55:34 +00:00
|
|
|
<Target Name="SetupProjectsToPack"
|
2016-06-28 01:26:57 +00:00
|
|
|
DependsOnTargets="Init">
|
|
|
|
<ItemGroup>
|
2017-02-23 18:37:48 +00:00
|
|
|
<ProjectsToPack Include="$(SrcDirectory)/Microsoft.DotNet.Cli.Utils" >
|
2016-06-28 01:26:57 +00:00
|
|
|
<ProjectName>Microsoft.DotNet.Cli.Utils</ProjectName>
|
2016-06-29 23:21:46 +00:00
|
|
|
<Version>$(SdkNugetVersion)</Version>
|
2016-06-28 01:26:57 +00:00
|
|
|
</ProjectsToPack>
|
2017-07-21 22:24:59 +00:00
|
|
|
<ProjectsToPack Include="$(SrcDirectory)/Microsoft.DotNet.MSBuildSdkResolver" >
|
|
|
|
<ProjectName>Microsoft.DotNet.MSBuildSdkResolver</ProjectName>
|
|
|
|
<Version>$(SdkNugetVersion)</Version>
|
|
|
|
</ProjectsToPack>
|
2016-06-28 01:26:57 +00:00
|
|
|
</ItemGroup>
|
|
|
|
</Target>
|
|
|
|
|
|
|
|
<Target Name="GenerateNugetPackages"
|
2017-03-03 17:37:25 +00:00
|
|
|
DependsOnTargets="Init; SetupProjectsToPack">
|
2016-07-13 18:19:38 +00:00
|
|
|
|
2016-11-03 06:01:57 +00:00
|
|
|
<DotNetPack NoBuild="True"
|
2017-03-03 17:37:25 +00:00
|
|
|
Output="$(PackagesDirectory)"
|
2016-11-03 06:01:57 +00:00
|
|
|
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj"
|
2017-01-05 20:40:23 +00:00
|
|
|
ToolPath="$(Stage0Directory)"
|
2017-02-17 10:41:41 +00:00
|
|
|
VersionSuffix="$(VersionSuffix)"
|
2016-11-03 06:01:57 +00:00
|
|
|
Configuration="$(Configuration)" />
|
2016-06-28 01:26:57 +00:00
|
|
|
</Target>
|
2016-06-29 21:10:55 +00:00
|
|
|
|
|
|
|
<Target Name="BuildProjectsForNuGetPackages"
|
2017-03-03 17:37:25 +00:00
|
|
|
DependsOnTargets="Init; SetupProjectsToPack">
|
2016-11-03 06:01:57 +00:00
|
|
|
|
|
|
|
<MakeDir Directories="$(PackagingBuildBasePath)" />
|
|
|
|
|
2017-01-05 20:40:23 +00:00
|
|
|
<DotNetBuild ToolPath="$(Stage0Directory)"
|
2016-11-03 06:01:57 +00:00
|
|
|
Configuration="$(Configuration)"
|
|
|
|
ProjectPath="%(ProjectsToPack.Identity)/%(ProjectsToPack.ProjectName).csproj" />
|
2016-06-29 21:10:55 +00:00
|
|
|
</Target>
|
2016-06-28 01:26:57 +00:00
|
|
|
</Project>
|