[WiP] enable /m by default (#4543)
* MSBuild integration project + refactoring * Feature Complete * Change default target to an existing one
This commit is contained in:
parent
5ede3b6367
commit
f53c51fc07
4 changed files with 104 additions and 11 deletions
32
TestAssets/TestProjects/MSBuildIntegration/build.proj
Normal file
32
TestAssets/TestProjects/MSBuildIntegration/build.proj
Normal 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) < 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>
|
Loading…
Add table
Add a link
Reference in a new issue