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?
cycledudeAsked:
Who is Participating?
 
Melih SARICAConnect With a Mentor OwnerCommented:
i guess no way
0
 
Melih SARICAOwnerCommented:
VS2010 Menu->Tools->Options

under Debugging->Edit and Continue, enable edit and continue
0
 
cycledudeAuthor Commented:
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.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
Melih SARICAOwnerCommented:
DAO is a com object not an .net DLL.

It happens when non .net assemby is added as i remember.
0
 
cycledudeAuthor Commented:
doh... so no way around it without removing the dao?
0
 
cycledudeAuthor Commented:
thanks...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.