开发者

Graceful post-build event failure

开发者 https://www.devze.com 2023-03-30 18:17 出处:网络
When a post-build event fails in Visual Studio 2010, you get the entire post-build batch fi开发者_运维技巧le displayed in the error. Is there any way to hide that and show a cleaner error message inst

When a post-build event fails in Visual Studio 2010, you get the entire post-build batch fi开发者_运维技巧le displayed in the error. Is there any way to hide that and show a cleaner error message instead?

I found this article to suppress the original error, but I still need the build to fail - just with a clean message.


Just use @echo command to output the information you need.

0

精彩评论

暂无评论...
验证码 换一张
取 消