转载——Visiual Studio2012 CLR20r3问题
看到有更新,习惯性的点了,升级到Visiual Studio Ultimate 2012 Update 1,并且按照提升重启了电脑。因为昨天太晚,也没验证。尽早打开VS,结果直接Crash。错误如下:
问题签名:
问题事件名称: CLR20r3
问题签名 01: devenv.exe
问题签名 02: 11.0.51106.1
问题签名 03: 5098c6d7
问题签名 04: Microsoft.VisualStudio.ExtensibilityHosting
问题签名 05: 11.0.50727.1
问题签名 06: 5011ed24
问题签名 07: 4dd
问题签名 08: 34
问题签名 09: DINUZJOUZ3M43FR4QNQDSJFB41R40ZN4
OS 版本: 6.1.7601.2.1.0.256.1
区域设置 ID: 2052
其他信息 1: 0a9e
其他信息 2: 0a9e372d3b4ad19135b953a78882e789
其他信息 3: 0a9e
其他信息 4: 0a9e372d3b4ad19135b953a78882e789
在调试模式下,C:\Users\liudy.SMNPC\AppData\Roaming\Microsoft\VisualStudio\11.0\ActivityLog.xml可以发现TestWindowPackage.Initialize failed with exception等异常。问度娘,基本不知道,问谷哥,终于找到解决办法(但是不知道原因)。
步骤1:开始-->所有程序-->Microsoft Visual Studio 2012-->Visual Studio Tools-->VS2012 开发人员命令提示(以管理员方式运行)
步骤2:运行devenv /Safemode (本人的已经能正常运行了)
步骤3:正常打开VS,也能正常运行
详见:
1. Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010 -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
2. Try some devenv switches in command prompt:
a. Rundevenv /Resetsettings to eliminate the cause of corrupted settings.
b. Rundevenv /ResetSkipPkgs in Command Prompt.
c. Rundevenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
3. Reboot the machine inSafe Mode. This can isolate some third party application/driver's interference.
4. Switch and try a new user account. This can rule out the possibility of corrupted user profile.
参考链接:http://social.msdn.microsoft.com/Forums/da-DK/vssetup/thread/d3608a82-62b7-43d8-9864-e86232c17d01