I wrote a small program that will run as a post-build step when compiling certain projects.
This program returns 0 for success or some number for failure. In the event of a failure, Visual Studio then correctly displays: "The command [...] exited with code n."
However, a single number is not always useful. In my case, I really want the error to point to a specific place in the source code. Is it possible to display the file name and line number so that Visual Studio actually allows me to simply double-click on the error and instantly get there?
Timwi source
share