views:

33

answers:

0

Hello. I am having an issue with using the remote debugger feature of Visual Studio 2005 on an x86 machine to debug an x64 .NET app on a 64-bit remote machine. My project consists of a number of projects including both managed and unmanaged code.

All unmanaged DLLs are built targeting x64, while managed dlls are built targeting "Any CPU". The main application is built targeting "x64". When attempting to start a remote debugging session on the remote machine, I receive the error "The 64-bit version of Visual Studio Remote Debugging Monitor (MSVCMON.EXE) cannot debug 32-bit processes or 32-bit dumps. Please use the 32-bit version instead."

The app indeed runs when the 32-bit version of msvcmon is running, and it shows up on the task manager as being run in 32-bit emulation mode. When attempting to debug on the x86 machine it is being built on, however, I receive an error message saying that the assembly was built with a platform incompatable with the current system."

Any ideas?