Visual Studio 2015 崩溃 [英] Visual Studio 2015 crashes

查看:49
本文介绍了Visual Studio 2015 崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Visual studio that won't be repaired...
Everytime I want to compile an app on vs 2015 - it crashes. Even if I want to compile the main function or write somthing to it, there appears a window, which says

Visual Studio 2015 已停止工作

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

It goes same on 2013 Express version. I have a clue why it won't work: when I open Team Explorer, an error appears:

找不到页面3185ed96-1cbd-4381-a439-636973542e50".

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

我尝试了我在互联网上找到的所有东西,相信我 - 没有任何效果.我还尝试了一些命令提示符命令:

I tried everything I have found in the internet and trust me - nothing worked. I also tried some command prompt commands:

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

调试模式给了我一些关于错误的信息:

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

An unhandled exception of type 'System.InvalidOperationException' occurred in mscorlib.dll

附加信息:必须安装服务Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate"才能使用此功能.确保此服务可用.HRESULT = 0x80004002

Additional information: The service 'Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate' must be installed for this feature to work. Ensure that this service is available. HRESULT = 0x80004002

构建此框架的内容时遇到异常.此信息也记录在C:UsersadminAppDataRoamingMicrosoftVisualStudio14.0ActivityLog.xml"中.

An exception was encountered while constructing the content of this frame. This information is also logged in "C:UsersadminAppDataRoamingMicrosoftVisualStudio14.0ActivityLog.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 来清理注册表.我认为这是一个非常奇怪的错误;如果你能建议我修复吗?

I reinstalled VS and repaired it - still nothing. Then I have downloaded some .dlls, microsoft visual c++ redistributable packages and used Ccleaner to clean registry. I think it's a very strange error; if you could advise me on a fix please?

推荐答案

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

Uncheck [Tools->Options->Environment->Automatically adjust visual experience based on client performance]

取消勾选[如果可用,使用硬件图形加速]

Uncheck [Use hardware graphics acceleration if available]

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

You can leave [Enable rich client visual experience] checked

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

I was having a lot of problems anywhere from random crashes, to crashing my Intel Graphics display driver, I turned it off and I have had no problems, it actually runs better. Maybe it will work for you

这篇关于Visual Studio 2015 崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆