dotnet-installer/build/Compile.targets
Eric Erhardt a7becbe6d8 Fix passing /p:DISABLE_CROSSGEN on cli.
When passing a property using the commandline, it is not flown through to "dotnet publish" calls.  So instead of using "dotnet publish", just use the MSBuild task to invoke the Publish target on the reidst project.  This way properties flow correctly.

I also did a little cleaning of unused build logic.
2017-04-04 17:50:28 -05:00

16 lines
591 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Compile" DependsOnTargets="Prepare;
CompileCLI;
BuildProjectsForNuGetPackages;" />
<Target Name="CompileCLI">
<RemoveDir Directories="$(OutputDirectory)" />
<MakeDir Directories="$(OutputDirectory)"/>
<!-- Publish DotNet -->
<MSBuild Projects="$(SrcDirectory)/redist/redist.csproj"
Targets="Publish" />
</Target>
</Project>