Solved

c# 2010 wont continue running after code edit

Posted on 2014-02-26
6
732 Views
Last Modified: 2014-03-03
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?
0
Comment
Question by:cycledude
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 39888509
VS2010 Menu->Tools->Options

under Debugging->Edit and Continue, enable edit and continue
0
 

Author Comment

by:cycledude
ID: 39888522
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
 
LVL 19

Expert Comment

by:Melih SARICA
ID: 39888576
DAO is a com object not an .net DLL.

It happens when non .net assemby is added as i remember.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cycledude
ID: 39888627
doh... so no way around it without removing the dao?
0
 
LVL 19

Accepted Solution

by:
Melih SARICA earned 500 total points
ID: 39889072
i guess no way
0
 

Author Closing Comment

by:cycledude
ID: 39902538
thanks...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Winform Module - What is the ASP.Net equiv 2 39
defining NULL or 0 10 51
linq, c# 8 36
Securing WEBAPI on Azure 2 27
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question