简体   繁体   English

VS2010中的调试问题

[英]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. 今天早上,当我启动我的ASP.NET应用程序时,对它进行了一些处理,现在当我尝试发布它时。 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 ? 谁知道该怎么办?

  1. Confirm that neither this instance of visual studio nor another is debugging the binaries in question. 确认Visual Studio的这个实例和其他实例都没有调试有问题的二进制文件。
  2. Restart Visual Studio. 重新启动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. 如果仍然无效,请尝试禁用所有插件并再次重新启动visual studio。
  4. Finally, as a last resort, reinstalling visual studio has a way of fixing seemingly unfixable problems. 最后,作为最后的手段,重新安装visual studio有一种方法来修复看似无法解决的问题。

You can try closing the ASP.NET Development Server. 您可以尝试关闭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... 或者您可以打开任务管理器并结束图像名称的过程:WebDev.Webserver ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM