-
-
Save rolfbjarne/86fa3d32923fe7198549534ca00a850d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test.proj | |
<?xml version="1.0" encoding="utf-8"?> | |
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<Target Name="A"> | |
<Error Text="A" /> | |
</Target> | |
<Target Name="B" DependsOnTargets="A" Condition="false"> | |
<Warning Text="B" /> | |
</Target> | |
<Target Name="Build" DependsOnTargets="B"> | |
<Warning Text="Build" /> | |
</Target> | |
</Project> | |
$ $ msbuild test.proj /v:quiet /nologo | |
/Users/rolf/test/test.proj(10,3): warning : Build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment