打開Visual Studio命令提示符下的“開始”菜單中(2010) - >所有程序- >微軟Visual Studio 2010 - > Visual Studio工具(具有管理員權限運行:右鍵單擊該程序- >以管理員身份運行);
- Try some devenv switches in command prompt: 在命令提示符嘗試一些devenv的開關:
- Run devenv / Resetsettings to eliminate the cause of corrupted settings. 運行 devenv / Resetsettings消除設置損壞的原因。
- Run devenv /ResetSkipPkgs in Command Prompt. 運行 devenv /命令提示符ResetSkipPkgs的 。
- Run devenv /Safemode to see if you can apply it correctly. 運行 devenv /安全模式看看,如果你能正確地運用它。 This can eliminate the possibility that third party Add-ins or packages are causing problems. 這可以消除第三方加載項或包導致問題的可能性。
- Reboot the machine in Safe Mode. 在安全模式重新啟動機器。 This can isolate some third party application/driver's interference. 這可以分離出一些第三方應用程序/驅動器的干擾。
- Switch and try a new user account. 切換和嘗試新的用戶帳戶。 This can rule out the possibility of corrupted user profile. 這可以排除損壞的用戶配置文件的可能性。