Link to home
Start Free TrialLog in
Avatar of cycledude
cycledudeFlag for United Kingdom of Great Britain and Northern Ireland

asked on

c# 2010 wont continue running after code edit

Hi

All has been fine for a long time... I could stop my application at a point, have a look at the code, change a bit, then click the 'play' button and it would continue...


I recently added a reference to DAO, so that I could perform a 'compact and repair' on the system Access Database from my application.

since adding this reference, any edits I make at runtime, I am now forced to stop the application and re-start... which is driving me bonkers...

ANy idea how I can get it back to normal?
Avatar of Melih SARICA
Melih SARICA
Flag of Türkiye image

VS2010 Menu->Tools->Options

under Debugging->Edit and Continue, enable edit and continue
Avatar of cycledude

ASKER

thanks, just checked and it is set to do so.

the message I get is:

"edits were made which cannot be compiled.  Execution cannot continue until the compile errors are fixed"

I get this every time I edit anything at runtime... even though there are no errors.
DAO is a com object not an .net DLL.

It happens when non .net assemby is added as i remember.
doh... so no way around it without removing the dao?
ASKER CERTIFIED SOLUTION
Avatar of Melih SARICA
Melih SARICA
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks...