I have a solution full of C++ projects. I want to stop building and running the projects once the first project fails (aka bad exit status). In a GNU Makefile I could easily accomplish this. How do I do this in Visual Studio?
- Run a Program as Part of Build
- Get Exit Status
- Fail Build if Exit Status != 0
inside of Visual Studio 2010 or higher.