[WiP] enable /m by default (#4543)

* MSBuild integration project + refactoring

* Feature Complete

* Change default target to an existing one
This commit is contained in:
Piotr Puszkiewicz 2016-10-29 12:08:52 -07:00 committed by GitHub
parent 5ede3b6367
commit f53c51fc07
4 changed files with 104 additions and 11 deletions

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Validate"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build"
DependsOnTargets="Validate" />
<Target Name="Clean"
DependsOnTargets="Validate" />
<Target Name="Pack"
DependsOnTargets="Validate" />
<Target Name="Publish"
DependsOnTargets="Validate" />
<Target Name="Restore"
DependsOnTargets="Validate" />
<Target Name="VSTest"
DependsOnTargets="Validate" />
<Target Name="Validate">
<Error Condition=" $(MSBuildNodeCount) &lt; 2 "
Text="Expect MSBuildNodeCount to be greater than 1, but found $(MSBuildNodeCount). Is this a single proc machine?" />
<Error Condition=" '$(MSBuildExtensionsPath)' == '' "
Text="Expect MSBuildExtensionsPath to be set, but it is not." />
<Error Condition=" '$(CscToolExe)' == '' "
Text="Expect CscToolExe to be set, but it is not." />
</Target>
</Project>