Last post Jan 13, 2012 04:53 PM by MetalAsp.Net
Jan 13, 2012 12:39 PM|leevis123|LINK
I've created a new ASP.NET Web Application for my project. While debugging, Visual Studio is not allowing me to make changes to my code behind (default.aspx.cs).
When I try, I get the "Edit and Continue" dialog letting me know that "Changes are not allowed while code is running or if the option 'Break all processes when one process breaks' is disabled.
Am I missing an option somewhere? I've created numerous other ASP.NET Web Applications in the past and have always been able to modify my code behind while running the Development Server.
Jan 13, 2012 12:43 PM|kedarrkulkarni|LINK
make sure that in the solution configuration list box on toolbar, u have selected mode as Debug instead of Release...
hope this helps...
Jan 13, 2012 12:46 PM|leevis123|LINK
It is set to Debug, thx.
Jan 13, 2012 12:58 PM|kedarrkulkarni|LINK
doe is solve the issue.... if not you can enable code editting in debug mode by followingthis
Jan 13, 2012 01:09 PM|leevis123|LINK
Thanks for your response kk. I ran across that suggestion earlier but unfortunately it doesn't resolve the issue I'm having. Enable and Continue was already enabled by default.
Jan 13, 2012 01:23 PM|MetalAsp.Net|LINK
Did you also enable edit & continue on the web application project properties also? There are two places this needs to be enabled. Also, to be clear, you need to be stopped at a breakpoint in the code for you to be able to make code changes.
Edit: it's on the Web tab of the project properties.
Jan 13, 2012 01:50 PM|leevis123|LINK
Yes, it was enabled on the project properties as well.
I've always been able to make changes to my code behinds while the development server is running. In my case, it won't allow me to make a change even when after the page has been loaded and the development server is sitting idle. I have to stop the dev server,
make my change, and restart it. Thx MetalAsp - rock on dude.
Jan 13, 2012 04:53 PM|MetalAsp.Net|LINK