开发者

Graceful post-build event failure

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜