I've been developing an application in C# (using VS2008) for quite sometime now and about a week ago, 'Edit and Continue' has stopped working for me. I can edit the code while debugging, but any little change that I make to the code now forces me to stop the project and restart it. The message that I get is this:
Modifying a 'method' which contains a lambda expression will prevent the debug session from continuing while edit and continue is enabled.
Oddly, I'm not even using lambda's when this happens. Modifying the same chunk of code last week while in debug mode allowed me to continue with no problems. I've done various searches on the internet to find out what I could have done to cause this change in behavior. The only help I can find on the web is directly related to debugging ASP.NET web projects. However, this portion of my solution is a Windows Forms project.
What could the problem be? Is there a way to fix this? I would greatly appreciate any help.