I just upgraded my fairly large MFC application from VS2008 to VS2013. After some minor tweaks (specify /SAFESH:No, WINVER=0x0601) everything works except Edit and Continue, which worked brilliantly under VS2008. InVS2013, even if I just add a comment line, it recompiles, says "Done", and then throws out the following message:
Edit and Continue : error 1006 : A global or static variable was added, renamed, removed, or changed data type or initialization: ___ImageBase (referenced by: c:\temp\process\debug\jlglob.obj)
Clearly I have not changed a global variable. I have scoured the web and checked the following things, which have not helped:
- disabled all optimisation
- set "Program Database for Edit and Continue /ZI"
- not using Precompiled Headers
- /SAFESH:NO
- Platform Toolset - Visual Studio 2013 (v120)
- deleted all intermediate file directories, including .tlog files
- enable Native EnC, as in VS2008
Any ideas anyone? This is very frustrating!!