After updating to VS 2015 update 1, if I run a web project (MVC), stop the application, then try to run it again, VS stops and pops up a dialog claiming
Check your solution's Configuration Properties. I ran into the same problem and discovered that my debug configuration was actually building some projects with a release configuration.
In my case, I had changed the "Active solution platform" for the whole solution at "Configuration Manager" from x86 to Any CPU, fixed the problem
Here is what worked for me.
If a web project, Go to the project properties of the web project and
It seems some dll's get cached so the above steps will invalidate the cache.
I noticed that Visual Studio wasn't killing the iisexpress process after I stopped the debugger. Manually killing the process seemed to fix it for me.
This appears to have now been fixed in Update 2.
I have tried all the answers, and the one worked for me is remove some NuGet package, not just the reference, but remove the package, in my case PostSharp. At first I tried to remove the reference from all the projects, and it doesn't work, then I just removed the packages from the manager. I don't what exactly the reason, but that's what solved my problems, hope it could help someone out there.
Check that the IIS Project URL actually points where you think it does. If in doubt, click the 'Create Virtual Directory' button.
I had this issue recently where I had been running a temporary version of a production codebase and had repointed the folder in IIS to the temporary version, which was, indeed, running a production build, not the debug version I was trying to debug.