Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging issue in VS2010

Okay , weird things are happening to me again. This morning when i started my ASP.NET application, worked on it a bit and now when i try to publish it. I'm getting served with an error where i can't seem to find any documentation on

Error   1   Unable to apply a change while debugging. Source file '\Properties\AssemblyInfo.cs' was reloaded. You must restart the debugging session.

Anyone knows what to do with this ?

like image 945
Nicolas Pierre Avatar asked Jul 09 '12 08:07

Nicolas Pierre


2 Answers

  1. Confirm that neither this instance of visual studio nor another is debugging the binaries in question.
  2. Restart Visual Studio. This will usually fix the problem.
  3. If that still doesn't work, try disabling all addons and restarting visual studio one more time.
  4. Finally, as a last resort, reinstalling visual studio has a way of fixing seemingly unfixable problems.
like image 90
Brian Webster Avatar answered Oct 22 '22 15:10

Brian Webster


You can try closing the ASP.NET Development Server. It will be in the system tray (next to time), just double click it and click "Close" then just run again.

Or you can open Task Manager and end the process of Image Name: WebDev.Webserver...

like image 30
BeginnerCoder Avatar answered Oct 22 '22 17:10

BeginnerCoder