无法修复的视觉工作室。
每次我想编译一个应用程序对2015-它崩溃。即使我想编译 main 函数或者对它写些什么,也会出现一个窗口,其中显示
VisualStudio2015已停止工作
2013年的 Express 版本也是如此。 我知道它为什么不能工作: 当我打开 Team Explorer 时,出现一个错误:
未找到页面“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
调试模式给了我一些关于错误的信息:
Mscolib.dll 中发生了类型为“ System.InvalidOperationException”的未处理异常
附加信息: 必须安装“ Microsoft.Internal.VisualStudio.Shell.Interop.SVsUIThreadInvokerPrivate
”服务才能使这个特性工作。确保此服务可用。HResults T = 0x80004002
在构建此框架的内容时遇到异常。此信息也记录在“ C: 用户管理 AppData 漫游 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 并且修复了它,还是没有任何进展。 然后我下载了一些.dlls,微软的 Visual c + + 可再发行包,并使用 Cclean 清理注册表。 我认为这是一个非常奇怪的错误,如果你能给我一个修复建议,请?