When I build the debug configuration, the .exe fails to launch.
It reports
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
I used the sxstrace.exe tool. It reports the following error:
ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
I've read a lot of posts related to these side-by-side errors. I tried installing the Visual Studio 2008 redistributable packages hoping the missing debug .dll would be installed in C:\Windows\winsxs. However, I saw
Debug versions of applications and the various Visual C++ DLLs are not redistributable.
at https://msdn.microsoft.com/en-us/library/8kche8ah%28v=vs.110%29.aspx.
How can I resolve this issue?