Tuesday, August 20, 2013

Solution to "Microsoft C/C++ Optimizing Compiler has stopped working"

Out of the blue I got error below when building a Visual Studio solution.

After googled and try few suggested solutions, here's the working solution for me.

1. Clean the solution.
2. Use msbuild to rebuild the solution.

That's it. Ah, you may need an elevated VS command prompt for the msbuild command, if your solution has some build step requires more privilege, which is not related to this issue actually.