visual-studio - Visual Studio 2017 实例未打开
问题描述
谁能知道为什么 Visual Studio 实例没有打开,我该如何解决。以下是我从 Visual Studio 日志和系统中找到的错误详细信息。
- 视觉工作室 2017 (15.9.22)
- .Net 框架:4.7 操作系统
- 视窗服务器 2016
MSVCP120_CLR0400.dll 不是为在 Windows 上运行而设计的
C:\Windows\system32\MSVCP120_CLR0400.dll 不是为在 Windows 上运行而设计的,或者它包含错误。尝试使用原始安装介质重新安装程序,或联系您的系统管理员或软件供应商寻求支持。错误状态 0xc000012f。
'' 的类型初始化程序引发了异常。
包 [环境包窗口管理] 源的 LegacySitePackage 失败:“Microsoft.VisualStudio.Shell.15.0”描述:“”的类型初始化程序引发了异常。System.TypeInitializationException:“”的类型初始化程序引发了异常。---> .ModuleLoadException: C++ 模块在 appdomain 初始化期间加载失败。---> System.DllNotFoundException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll ---> System.ComponentModel.Win32Exception: %1 不是有效的 Win32 应用程序 --- 结束内部异常堆栈跟踪 --- 在 MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() 在 CModuleInitialize.{ctor}(CModuleInitialize* 的 MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath, UInt16* baseDllPath) VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp).ModuleLoadException:C++ 模块在 appdomain 初始化期间无法加载。---> System.DllNotFoundException: C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpfgfx_v0400.dll ---> System.ComponentModel.Win32Exception: %1 不是有效的 Win32 应用程序 --- 结束内部异常堆栈跟踪 --- 在 MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() 的 MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16* relDllPath, UInt16* baseDllPath) 在 CModuleInitialize.{ctor}(CModuleInitialize* , IntPtr cleanUpFunc) 在? A0x4260310d.CreateCModuleInitialize() at ?A0x4260310d.??__E?A0x4260310d@cmiStartupRunner@@YMXXZ() at _initterm_m((fnptr)* pfbegin, (fnptr)* pfend) at .LanguageSupport。
解决方案
推荐阅读
- sql-server - Tomcat 找不到 Microsoft SQL 驱动程序类
- html - 响应式设计中的复杂弹性菜单
- android - 回收站视图 xamarin 中未处理的异常
- unity3d - 在相同的 MonoBehavior 开始之前调用 FixedUpdate
- javascript - 为什么 return false 不会阻止页面刷新
- r - AnyLogic - 导入数据库表“空”错误
- javascript - 如果包含特定单词,则从数组中返回匹配项
- android - 如何修复缺少所需的 oauth 参数:oauth_signature_method?
- javascript - 如何在没有嵌套导航的情况下导航
- php - Wordpress-Stripe 集成:致命错误:未捕获错误:未找到“Stripe”类