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.
精彩评论