2016-07-01 18:02:26 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-02-14 23:42:13 +00:00
|
|
|
<Import Project="compile/LzmaArchive.targets" />
|
2016-06-30 17:39:39 +00:00
|
|
|
|
2016-07-26 04:29:59 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<PublishOutputExtensions Include="$(ExeExtension);.dll;.pdb;.deps.json;.runtimeconfig.json" />
|
|
|
|
</ItemGroup>
|
2016-06-30 17:39:39 +00:00
|
|
|
|
2016-07-01 00:34:11 +00:00
|
|
|
<Target Name="Compile" DependsOnTargets="Prepare;
|
2017-02-08 03:41:45 +00:00
|
|
|
CompileCLI;
|
2016-11-24 07:54:44 +00:00
|
|
|
PublishSdks;
|
2017-01-06 22:48:27 +00:00
|
|
|
PublishTemplates;
|
2016-06-30 17:39:39 +00:00
|
|
|
BuildProjectsForNuGetPackages;
|
2016-11-24 07:54:44 +00:00
|
|
|
GetNuGetPackagesArchive;" />
|
2016-06-30 17:39:39 +00:00
|
|
|
|
2017-02-21 22:22:36 +00:00
|
|
|
<Target Name="CompileCLI">
|
2017-02-27 19:06:44 +00:00
|
|
|
<RemoveDir Directories="$(OutputDirectory)" />
|
|
|
|
<MakeDir Directories="$(OutputDirectory)"/>
|
2017-02-22 19:03:11 +00:00
|
|
|
|
2017-02-22 19:06:57 +00:00
|
|
|
<!-- Publish DotNet -->
|
|
|
|
<DotNetPublish ToolPath="$(Stage0Directory)"
|
|
|
|
Configuration="$(Configuration)"
|
2017-02-22 08:00:36 +00:00
|
|
|
ProjectPath="$(RootProject)" />
|
2017-02-22 19:06:57 +00:00
|
|
|
|
2017-02-28 08:38:27 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<PdbsToClean Include="$(OutputDirectory)/sdk/**/*.pdb" />
|
|
|
|
</ItemGroup>
|
2017-02-22 19:03:11 +00:00
|
|
|
|
2017-02-28 08:38:27 +00:00
|
|
|
<Delete Files="@(PdbsToClean)" />
|
2016-06-30 17:39:39 +00:00
|
|
|
</Target>
|
2016-11-24 07:54:44 +00:00
|
|
|
|
2016-12-03 22:19:54 +00:00
|
|
|
<Target Name="PublishSdks"
|
|
|
|
DependsOnTargets="Prepare">
|
|
|
|
<ItemGroup>
|
2017-02-14 23:42:13 +00:00
|
|
|
<SdksToBundle Include="build/BundledSdks.proj">
|
2016-12-03 22:19:54 +00:00
|
|
|
<Properties>
|
|
|
|
CLIBuildDll=$(CLIBuildDll);
|
|
|
|
NuGetPackagesDir=$(NuGetPackagesDir);
|
2016-12-05 06:31:58 +00:00
|
|
|
SdkLayoutDirectory=$(SdkOutputDirectory)/Sdks/%(BundledSdk.Identity);
|
2016-12-03 22:19:54 +00:00
|
|
|
SdkPackageName=%(BundledSdk.Identity);
|
|
|
|
SdkPackageVersion=%(BundledSdk.Version);
|
|
|
|
Stage0Directory=$(Stage0Directory)
|
|
|
|
</Properties>
|
|
|
|
</SdksToBundle>
|
|
|
|
</ItemGroup>
|
2016-11-24 07:54:44 +00:00
|
|
|
|
2016-12-03 22:19:54 +00:00
|
|
|
<MSBuild
|
2016-12-05 06:31:58 +00:00
|
|
|
BuildInParallel="False"
|
2016-12-03 22:19:54 +00:00
|
|
|
Projects="@(SdksToBundle)">
|
|
|
|
</MSBuild>
|
2016-11-24 07:54:44 +00:00
|
|
|
</Target>
|
2017-01-06 22:48:27 +00:00
|
|
|
|
|
|
|
<Target Name="PublishTemplates"
|
|
|
|
DependsOnTargets="Prepare">
|
|
|
|
<ItemGroup>
|
2017-02-14 23:42:13 +00:00
|
|
|
<TemplatesToBundle Include="build/BundledTemplates.proj">
|
2017-01-06 22:48:27 +00:00
|
|
|
<Properties>
|
|
|
|
TemplateLayoutDirectory=$(SdkOutputDirectory)/Templates;
|
|
|
|
TemplatePackageName=%(BundledTemplate.Identity);
|
|
|
|
TemplatePackageVersion=%(BundledTemplate.Version);
|
|
|
|
Stage0Directory=$(Stage0Directory)
|
|
|
|
</Properties>
|
|
|
|
</TemplatesToBundle>
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<MSBuild
|
|
|
|
BuildInParallel="False"
|
|
|
|
Projects="@(TemplatesToBundle)">
|
|
|
|
</MSBuild>
|
|
|
|
</Target>
|
2017-02-15 20:39:45 +00:00
|
|
|
</Project>
|