Fix 4508: CLI verbs that call into msbuild should control their output (#4719)
* Fix 4508: CLI verbs that call into msbuild should control their output * fix failing tests + tiny bufix in dotnet test
This commit is contained in:
parent
43df9a170d
commit
7a3bc96f75
11 changed files with 128 additions and 5 deletions
|
@ -2,15 +2,15 @@
|
|||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<Target Name="SayHello">
|
||||
<Message Text="Hello, from MSBuild!" />
|
||||
<Message Importance="high" Text="Hello, from MSBuild!" />
|
||||
</Target>
|
||||
|
||||
<Target Name="SayGoodbye">
|
||||
<Message Text="Goodbye, from MSBuild. :'(" />
|
||||
<Message Importance="high" Text="Goodbye, from MSBuild. :'(" />
|
||||
</Target>
|
||||
|
||||
<Target Name="SayThis">
|
||||
<Message Text="You want me to say '$(This)'" />
|
||||
<Message Importance="high" Text="You want me to say '$(This)'" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
<Target Name="Publish"
|
||||
DependsOnTargets="Validate" />
|
||||
|
||||
<Target Name="Restore"
|
||||
DependsOnTargets="Validate" />
|
||||
|
||||
|
@ -28,5 +29,9 @@
|
|||
|
||||
<Error Condition=" '$(CscToolExe)' == '' "
|
||||
Text="Expect CscToolExe to be set, but it is not." />
|
||||
|
||||
<Message Importance="low" Text="Message with low importance" />
|
||||
<Message Importance="normal" Text="Message with normal importance" />
|
||||
<Message Importance="high" Text="Message with high importance" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue