无法修复的 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/