c# (2008) editor query

Associate
Joined
16 Jun 2009
Posts
809
How do you edit code when in debug mode? Ive checked the settings and "Enable edit and continue" is ticked. I thought that was it. But when i stick a breakpoint in my code and try changing some things i get a message pop up saying "Changes to 64 bit applications not allowed"

What gives? Is there another setting somewhere to let me change code in debug mode?
 
It's actually that you can't do edit and continue with a 64-bit application, the OS has nothing to do with it.
The default is Any CPU though and on a 64-bit OS that makes 64-bit applications.

If you right click the project and go to Properies -> Build and then change the platform target to x86 that will target your program to just 32-bit and you'll be able to do edit and continue.
 
It gets me as well. I just wish there was an option to not give the message and stop the code so I can make the edit and then let me rerun it. Not a big issue, but I get fed up forgetting the code hasn't exited and having to clear that window.
 
Back
Top Bottom