【发布时间】:2015-09-15 10:15:59
【问题描述】:
我刚刚在一台新笔记本电脑上安装了 VS 2013 pro,当我尝试打开现有项目或创建新项目时,无法加载。然后我在新版本的调试器中打开它并得到这些错误。
通过打开现有项目,我得到了
System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.Shell.UI.Internal.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Microsoft.VisualStudio.Shell.UI.Internal.pdb contains the debug information required to find the source for the module Microsoft.VisualStudio.Shell.UI.Internal.dll
Try one of the following options: - Change existing PDB and binary search paths and retry
当我尝试创建一个新项目时,我收到了类似的错误
System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in Microsoft.VisualStudio.TemplateWizard.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Microsoft.VisualStudio.TemplateWizard.pdb contains the debug information required to find the source for the module Microsoft.VisualStudio.TemplateWizard.dll
Try one of the following options: - Change existing PDB and binary search paths and retry
我还注意到VS正在创建解决方案文件夹和它上面的文件夹中的.sln文件,但是什么也没有,崩溃后解决方案文件夹是空的
我不知道为什么会发生这种情况,但似乎与安装有关,或者可能与以前的安装混淆了路径信息有关。 (在我安装 2013 pro 之前,它已经安装了 VS 2013 shell)
有什么想法吗?
【问题讨论】:
-
尝试禁用扩展,直到它起作用
-
干净的开始,是的。现在将尝试禁用扩展程序
-
似乎我无法禁用任何东西。这可能与没有本地管理员权限的情况下运行有关吗?
-
或者可能是扩展需要从程序和功能窗格中删除。 devenv.exe /SafeMode 将在没有任何第三方扩展的情况下加载 VS,尝试这样做以排除扩展是问题。
-
我尝试了安全模式,但当我尝试创建新项目时仍然出现同样的错误
标签: c# visual-studio exception visual-studio-2013