Solved

Cannot use "Edit and continue" in Visual Studio 2005

Posted on 2009-07-13
4
256 Views
Last Modified: 2013-12-17
Hi,

I'm writing a plugin for an external program (MapWindow) using VB.NET and Visual Studio 2005. The project builds as a class library (.dll). The debugger starts the external program that loads the project. This works fine but in break mode I cannot edit the source files, they are locked for editing.

Does anybody have an idea why the Edit and continue feature is not available in this scenario? I've checked all the obvious settings and other projects can be edited while debugging.
Note that the output path for the build is not the default debug folder, the project has to build in the plugin folder of the external program. Could this be the problem?

TIA
0
Comment
Question by:JosP
[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
  • 2
  • 2
4 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 24839554
There are only certain project types that allow for the editing while running the program. These are any application types that can be compiled on the fly (i.e. websites). If they cannot compile on the fly, you cannot make changes while in debug.
0
 

Author Comment

by:JosP
ID: 24839629
Not sure what you mean with compile on the fly.
This project type is basically the same as for example an add-in for any of the Office products. I never had any trouble using edit and continue with those projects.
0
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 24839887
when I say "compile on the fly" I mean that it is NOT REQUIRED that you build the project to use it. For example, if you create a website and just run it, IIS will automatically compile the website for you. While in debug, if you make a change IIS will detect this and recompile the site "on the fly".

If you are working with a project that requires the compiler to create the DLL, then you will need to stop debugging and re-run/re-compile the application to make the changes.
0
 

Author Closing Comment

by:JosP
ID: 31602810
Still don't understand why it doesn't work in this scenario, but I accept that it just doesn't, for some reason...
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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