Category Archives: C#

[转] unexpected error creating debug information

I keep running into this issue in my multi-project VS.NET solutions.  For some reason, something is locking the dll(s) in the /obj/ folder of library components.  The fix that I have at the moment is as follows:

  1. Shut down VS.NET
  2. Browse to the project in windows explorer
  3. Delete the /obj/ folder.
  4. Delete the project outputs (.dll and .pdb) from /bin (not sure this step is necessary)
  5. (can’t hurt, might help) — delete the project outputs from any other project /bin folders in the solution that is having issues.
  6. Restart VS.NET
  7. Rebuild
  8. Laugh the next time you hear that DLL Hell is no more in .NET…

Update: Just deleting /obj/ after closing VS.NET does it.  Ambrose pointed me to prcview.exeand that demonstrated that it is in fact devenv.exe locking the file, so it’s VS.NET’s own fault, not Index Server or anything else that is to blame.


Fatal Execution Engine Error (716E7706) (80131506)

今天在用VS做一个ASP.Net项目时,也不知道做了什么操作,只要对着WEB APP的项目点击右键,整个VS就崩溃了,什么出错提示也没有,到Windows日志->应用程序里看到了这个错误:

.NET Runtime version 2.0.50727.3053 – Fatal Execution Engine Error (716E7706) (80131506)

网上找了一下,也没找到完全一样的错误解释。只能自己解决了,打开Open Visual Studio 2008 Command Prompt这个命令行窗口,输入”devenv /ResetSettings”,VS重新打开,嘿嘿,一切正常了,但是不能保证不旧病复发,果然只点了两下,又死了,而且后来更严重,打开项目就死。猜测有可能是最近安装的Svn的插件AnkhSVN引起的,卸掉再说。耶!这下完全正常了。