8

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 ?

7
  • 1
    Were you debugging while trying to publish? Commented Jul 9, 2012 at 8:19
  • 1
    Have you tried to stop your VS debugging and then publish your project? Commented Jul 9, 2012 at 8:20
  • No to the first and yes to the second comment Commented Jul 9, 2012 at 8:29
  • It wasn't a first and second question ;). Try to stop debugging and to publish afterwards. Commented Jul 9, 2012 at 10:00
  • 6
    I just ran into this same problem (read more carefully, Sascha :). Debugger was off, and I halted my web application server. Solution for me was to restart VS. Commented Jul 20, 2012 at 18:09

2 Answers 2

11
  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.
Sign up to request clarification or add additional context in comments.

Comments

5

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.