1周前Visual Studio 2010突然出現崩潰現象。在源文件修改只要一編譯,馬上就崩潰,而且還不彈出任何異常窗口,嚴重影響軟件開發工作。
google了無數解決方案 用下面網站上的辦法也不奏效: 1)http://blog.sina.com.cn/s/blog_68cb7e090101963d.html For 32-bit operating systems, run the following command: regsvr32 "c:\Program Files\Internet Explorer\ieproxy.dll" For 64-bit operating systems, run the following command: regsvr32 "c:\Program Files (x86)\Internet Explorer\ieproxy.dll" 以上命令必須以管理員權限運行。如果還不行就: regsvr32 c:\Windows\System32\ole32.dll 這些都不行。 他給出了一些參考鏈接: http://support.microsoft.com/kb/983279/en-us http://connect.microsoft.com/VisualStudio/feedback/details/618802/visual-studio-andom-frequent-crash http://social.msdn.microsoft.com/Forums/zh-SG/vssetup/thread/ac890e5c-2de6-4526-86fb-9a3cd77ec80e The plugin AnkHSVN is known to cause the same problem: http://blogs.msdn.com/b/visualstudio/archive/2010/05/11/if-you-are-seeing-intermittent-crashes-with-vs-2010.aspx 以為是SVN和VisualAssistX的問題,卸載后依然不行。 再從Visual Studio 2010里禁止一些插件,把源代碼管理系統更改為“無”,仍不行。
6)又看了這個貼子,原來這個問題已經存在N年了,微軟一直沒有搞定。 http://social.msdn.microsoft.com/Forums/en/msbuild/thread/6f76db9a-ea37-42b3-a016-571912c28032 最后感覺是調試程序時有些異常中止時,某個文件被鎖住,而Visual Studio 2010又不被正常地解鎖這個文件,而導致崩潰。