Solved

Cannot use "Edit and continue" in Visual Studio 2005

Posted on 2009-07-13
4
251 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need help displaying 2 models in one view in my MVC.Net application with C# code behind 5 36
Error in page 3 46
Runtime Error 2 29
Javascript and Jquery not firing 9 43
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now