Nicolas Pierre
Nicolas Pierre

Reputation: 1195

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 ?

Upvotes: 8

Views: 5004

Answers (2)

Brian Webster
Brian Webster

Reputation: 30855

  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.

Upvotes: 11

BeginnerCoder
BeginnerCoder

Reputation: 403

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...

Upvotes: 5

Related Questions