【发布时间】:2015-09-10 07:55:58
【问题描述】:
无法修复的 Visual Studio...
每次我想在 vs 2015 上编译一个应用程序时 - 它都会崩溃。即使我想编译主函数或写一些东西给它,也会出现一个窗口,上面写着
Visual Studio 2015 已停止工作
在 2013 Express 版本上也是如此。 我知道它为什么不起作用:当我打开团队资源管理器时,出现错误:
找不到页面“3185ed96-1cbd-4381-a439-636973542e50”。
我尝试了我在互联网上找到的所有东西并相信我 - 没有任何效果。 我还尝试了一些命令提示符命令:
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”类型的未处理异常
附加信息:必须安装服务“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 清理注册表。 我认为这是一个非常奇怪的错误;如果你能告诉我修复方法吗?
【问题讨论】:
-
这会发生在最小的“hello world”应用程序上吗?听起来很奇怪。可能是操作系统本身或恶意软件的问题。您是否提供完整的服务和最新的病毒检查器等?
-
您是否尝试将其报告给 Microsoft?这是他们的产品。
-
是的,我已向 Microsoft 报告,是的,我得到了全面的服务,但我会再次检查。谢谢。
-
您是否尝试过在安全模式下启动 Visual Studio? msdn.microsoft.com/en-us/library/ms241278(v=vs.140).aspx
-
尝试更新设备驱动程序(Intel HD Graphics)或使用图形驱动程序运行,如果你有基于开关的。
标签: visual-studio visual-studio-2015