Troubleshooting: C++ project in virtualized VS2008 fails to run when debugging enabled

In a virtualized instance of Visual Studio, when users build a C++ project in Visual Studio 2008 with debugging enabled the compiled program may not run and produce an error in the console window and/or the interface. To resolve: install debug runtimes on local machine, and follow: 1. From Visual Studio, navigate to "File" - "New" - "Project"  […]

In a virtualized instance of Visual Studio, when users build a C++ project in Visual Studio 2008 with debugging enabled the compiled program may not run and produce an error in the console window and/or the interface. To resolve: install debug runtimes on local machine, and follow: 1. From Visual Studio, navigate to "File" - "New" - "Project"  2. Select and expand "Other Project Types," then "Setup and Deployment"  3. In Visual Studio Templates area, select "Setup Project." Click "OK"  4. In Project window, Right-click "Setup1" and select "Add" - "Merge Module"  5. Select all debug runtimes desired from list 6. Click Open 7. Right-click Setup1 and select "Build"  8. Execute project. It’ll install modules you selected.