Debugging an x86.NET application for Windows x64 in VS2008

I am using the x64 version of Windows 7. My application uses some COM servers (regular native x86 COM servers) that cannot be loaded into the x64 context. So I decided to run it as an x86 application using WOW , so I installed the platform as x86.

But the Visual Studio 2008 debugger started showing messages like "The source file is different ..." for all the source files when I try to debug it. What is the reason for this behavior? This question was born there. "The source file is different ..." the message in Visual Studio 2008 is the result of debugging x32 applications in x64 Windows

Update : I cleared the solution, restored the solution, deleted the obj, bin, etc. folders, restarted the computer, reinstalled Visual Studio ... So what else could be the problem?

Update2 . If you create a new Windows application project and change the target platform to x86, you will see this problem. But , if you remove Settings1.settings from the project, the problem will be fixed! . Any idea?

Update3 : http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/bc297668-65b4-46e8-969e-c7a6340d33b6

+5
source share
3 answers

Windows 7 Windows Xp sp 3 VS 2008 . Windows Vista 2 (SP2) .

+4

, , WOW64. , Visual Studio 32- WOW64. x64 → x86 x86 → x86.

, , Visual Studio PDB , .

  • PDB
  • . , , .

,

  • VS
  • VS
  • VS
  • VS
+4

x86. , , , , .

Raise Solution Properties and check the Configuration \ Configuration page. Then make sure all projects are checked in the Build section to compile Config / Platform.

+1
source

All Articles