visual-studio - Visual Studio 2015 崩溃

标签 visual-studio visual-studio-2015

无法修复的 Visual Studio...
每次我想在 vs 2015 上编译应用程序时,它都会崩溃。即使我想编译 main 函数或向其写入一些内容,也会出现一个窗口,上面写着

Visual Studio 2015 has stopped working

2013 Express 版本也是如此。 我知道为什么它不起作用:当我打开团队资源管理器时,出现错误:

Page '3185ed96-1cbd-4381-a439-636973542e50' not found.

我尝试了在互联网上找到的所有内容并相信我 - 没有任何效果。 我还尝试了一些命令提示符命令:

devenv.exe/ debug  
devenv.exe/ resetsettings  
devenv.exe/ instalvstemplates  
devenv.exe/ resetskippings  
devenv.exe/ resetuserdata  
devenv.exe/ setup  
devenv.exe/ safemode  

Debug模式给了我一些有关错误的信息:

mscorlib.dll 中发生“System.InvalidOperationException”类型的未处理异常

其他信息:必须安装服务“Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate”才能使用此功能。确保此服务可用。 HRESULT = 0x80004002

构造此框架的内容时遇到异常。此信息也记录在“C:\Users\admin\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml”中。

Exception details:
System.ArgumentException: Parametr is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.FindToolWindow(Type toolWindowType, Int32 id, Boolean create, ProvideToolWindowAttribute tool)
   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(Guid& toolWindowType, UInt32 id)
   at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

但我仍然找不到任何有效的方法。

我重新安装了 VS 并修复了它 - 仍然没有任何结果。 然后我下载了一些.dll、microsoft Visual C++ 可再发行软件包并使用 Ccleaner 来清理注册表。 我认为这是一个非常奇怪的错误;您能给我提供修复建议吗?

最佳答案

取消选中[工具->选项->环境->根据客户端性能自动调整视觉体验]

取消选中[使用硬件图形加速(如果可用)]

您可以选中[启用丰富的客户端视觉体验]

我遇到了很多问题,从随机崩溃到我的英特尔显卡显示驱动程序崩溃,我将其关闭,没有遇到任何问题,它实际上运行得更好。也许它对你有用

关于visual-studio - Visual Studio 2015 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31021049/

相关文章:

visual-studio - Visual Studio - 如何始终显示挂起的更改

c# - 您可以在单元测试项目中使用 Visual Studio 数据库项目来为功能测试设置一个空数据库吗?

c# - 录制音频的程序:静音麦克风

angularjs - 在 Visual Studio 2015 中将 TypeScript 编译成 Javascript

visual-studio-2015 - 解决方案 VS2015 (NuGet 3.4+) 的 NuGet 配置文件

c++ - 摆脱 Visual Studio 中缺少的 -D__STDC_CONSTANT_MACROS

c - 如何高效定义一个128位常量?

visual-studio-2015 - ClangFormat 扩展未在 Visual Studio 2015 上正确安装

c# - 无法使用C#通过XPath查找元素

c++ - Visual Studio 2015 将目标平台更改为 windows 7