Share via


Tip #29: Did you know… How to enable Edit and Continue feature for Web Application Projects?

If you want to edit your WAPs while debugging them, here is how you do it:

1. Check the “Enable Edit and Continue” checkbox in the Web Properties page.

Enable Edit and Continue

2. Check the “Enable Edit and Continue” checkbox under  Tools->Options->Debugging->Edit and Continue

Tools Options for Edit and Continue

These two setting will enable Edit and Continue as you debug your WAPs.

Reshmi Mangalore

SDET, Visual Web Developer

Comments

  • Anonymous
    November 26, 2008
    PingBack from http://blog.a-foton.ru/index.php/2008/11/26/tip-29-did-you-know%e2%80%a6-how-to-enable-edit-and-continue-feature-for-web-application-projects/

  • Anonymous
    November 26, 2008
    Per impostazione predefinita, nei Web Application Projects l'opzione Edit and Continue è disattivata

  • Anonymous
    November 26, 2008
    what program are u talking is it vs2005 asp.net?

  • Anonymous
    November 29, 2008
    The comment has been removed

  • Anonymous
    December 18, 2008
    Why isn't this enabled by default? Are there drawbacks to doing this? does the project take longer to start up?

  • Anonymous
    January 20, 2009
    I wish this worked. It doesn't, at least not on my machine. Changing a simple string value requires a restart.. sigh.

  • Anonymous
    May 31, 2009
    To answer some of the above question, this function should work in vs2008 rtm and vs2008 sp1. Please post a comment and question in asp.net forum if you find it's not working as you expected. Thanks

  • Anonymous
    December 09, 2009
    To anyone running Vista 64 bit... It may be that the IDE is not ready for Edit and Continue (EnC) web apps on Vista 64 bit without a tweek. My situation: Migrated Web App to Vista 64 bit. Set platform to x86, set EnC in Tools/Options & Web properties, Debug flag in Web.Config, Debug mode set in Build configuration, etc, etc. No joy - Could hit break points, inspect variables, etc, but could not EnC. There were 7 Google hits on Msg "Changes are not allowed if the assembly has not been loaded". No new advice there for this situation though. After trying numerous things finally tried changing the Build output path from "binx86debug" to "bin". There was great joy across the land - Debug with EnC works now.

  • Anonymous
    December 16, 2009
    It's all very well explaining how to enable edit and continue with the noddy Visual Studio Development Server, but in the real world of professional programming, people like me like to use things like IIS! So the big question is, how do you enable edit and continue with Visual Studio if you are using a real web server, e.g. IIS7 or IIS6?

  • Anonymous
    March 12, 2010
    RREEEEEEEEEEEAAAAAAAAAAALLLLLLLLLLLYYYYYYYYYY Thanks. It was exactly what I want. I searched a lot but it takes long time to find yours!

  • Anonymous
    August 05, 2010
    Did anyone find an answer for martastik? Is it possible to enable edit and continue when attaching to IIS7?

  • Anonymous
    August 07, 2010
    The comment has been removed

  • Anonymous
    August 24, 2010
    MKP - Spot on with the redirect of the build output path...  I looked at and tried all the other answers before I found your indication and EnC for my web-app works fine now. VS 2008 Windows 7 x64

  • Anonymous
    March 27, 2012
    @MKP Good call worked for me too.

  • Anonymous
    September 24, 2012
    I am using VB.NET on VS 2008. It has been working fine previously, but just started to have issues with this now. I have Enable edit and Continue checked on Options, but it is still not working. Even for desktop applications. any other guess?

  • Anonymous
    September 25, 2012
    Sameers, try VS forums or Stack Overflow for this question as your desktop app's edit and continue fails as well.