Every time I try to configure remote debugging, it always leads to a world of pain. What do I need to do to debug my MFC application on a remote machine? I am using Windows 7, VM is using Windows XP.
I have msvsmon running on a remote computer and I have successfully connected, but the problem I am facing is that the VM cannot start my debug exe because it says:
This application could not be started because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
I installed VC Runtime Redist, I copied the MFC / CRT debug files without redialing to the virtual machine (and in the same directory as the program). I tried following the guidelines for editing the manifest file version information from this blog post - http://qualapps.blogspot.com/2008/07/visual-studio-2008-c-redistributable.html . But nothing can make it work.
I looked at the MyAppD.exe file using Dependancy Walker and it gives me the same error (side by side builds and the text above).
Does anyone have a reliable method for working with this stuff (on a clean virtual machine)?
source
share