无法卸载Visual Studio社区2013或安装VS社区2015. [英] Unable to uninstall Visual studio community 2013 or install VS community 2015.

查看:145
本文介绍了无法卸载Visual Studio社区2013或安装VS社区2015.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

系统信息:

Windows 10 64位-通过Windows Update完全最新

Windows 10 64bit - fully up-to-date through windows update

每当我启动2015年的安装程序或2013年的卸载程序时,它都会在徽标中崩溃约5秒钟,并显示:

Whenever I start up the installation for 2015 or uninstaller for 2013, it crashes about 5 seconds into the logo and shows:

安装程序在操作期间检测到问题."

"Setup detected an issue during the operation."

我已经检查了日志,并将粘贴一些我发现的错误.

I've checked the log and will paste a couple of errors I found.;

734:37E8] [2017-01-01T19:41:50] e000:MUX:错误:无法加载System.Runtime.Serialization节组下的DataContractSerializer配置节.确认正确设置了machine.config.
[3734:37E8] [2017-01-01T19:41:50] e000:MUX:  Stack:    at System.Runtime.Serialization.Configuration.DataContractSerializerSection.UnsafeGetSection()
   在System.Runtime.Serialization.DataContract.get_ConfigSection()

734:37E8][2017-01-01T19:41:50]e000: MUX:  ERROR: DataContractSerializer config section under System.Runtime.Serialization section group could not be loaded. Verify that machine.config is correctly set up.
[3734:37E8][2017-01-01T19:41:50]e000: MUX:  Stack:    at System.Runtime.Serialization.Configuration.DataContractSerializerSection.UnsafeGetSection()
   at System.Runtime.Serialization.DataContract.get_ConfigSection()

[3734:37E8] [2017-01-01T19:41:50] e000:MUX:错误:"System.Windows.Window"的类型初始值设定项引发了异常.
[3734:37E8] [2017-01-01T19:41:50] e000:MUX:  Stack:    at System.Windows.Window..ctor()
    at Microsoft.Devdiv.Bootstrapper.RootView..ctor(ViewModelCommonUi viewModel)
    at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel)
    at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunInteractiveUI(ViewModelCommonUi viewModel)
    at Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun()
    at Microsoft.Devdiv.Bootstrapper.ManagedUx.Run()
    at System.Threading.ThreadHelper.ThreadStart_Context(对象状态)
    at System.Threading.ExecutionContext.Run(ExecutionContext executeContext,ContextCallback回调,对象状态)
    at System.Threading.ThreadHelper.ThreadStart()

[3734:37E8][2017-01-01T19:41:50]e000: MUX:  ERROR: The type initializer for 'System.Windows.Window' threw an exception.
[3734:37E8][2017-01-01T19:41:50]e000: MUX:  Stack:    at System.Windows.Window..ctor()
   at Microsoft.Devdiv.Bootstrapper.RootView..ctor(ViewModelCommonUi viewModel)
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunUI(ViewModelCommonUi viewModel)
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.RunInteractiveUI(ViewModelCommonUi viewModel)
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.InternalRun()
   at Microsoft.Devdiv.Bootstrapper.ManagedUx.Run()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

[3734:37E8] [2017-01-01T19:41:50] e000:MUX:错误:"System.Windows.FrameworkElement"的类型初始值设定项引发了异常.
[3734:37E8] [2017-01-01T19:41:50] e000:MUX:  Stack:    at System.Windows.Window..cctor()
[3734:35A0] [2017-01-01T19:41:50] i106:计算目标产品代码:{0B6BDD27-3097-4FE1-BDE6-1D5EC7399563}的补丁适用性,上下文:计算机

[3734:37E8][2017-01-01T19:41:50]e000: MUX:  ERROR: The type initializer for 'System.Windows.FrameworkElement' threw an exception.
[3734:37E8][2017-01-01T19:41:50]e000: MUX:  Stack:    at System.Windows.Window..cctor()
[3734:35A0][2017-01-01T19:41:50]i106: Calculating patch applicability for target product code: {0B6BDD27-3097-4FE1-BDE6-1D5EC7399563}, context: Machine

推荐答案

Reddax,

Hi Reddax,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

能告诉我们您的操作系统版本吗?仅从您粘贴的错误信息中,根本原因就在于系统配置,请检查Windows更新并将所有补丁应用到最新的补丁.

Could you please tell us your OS version? Just from the error information you pasted, the root cause is about the system configuration, please check your Windows update and apply all patches to the newest.

如果它是Win 7,请安装 Windows 7 Service Pack 1(SP1)

If it is Win 7, please install Windows 7 Service Pack 1 (SP1).

众所周知,正确安装VS的前提是您的操作系统处于良好状态.在设置过程中,请同时禁用防病毒软件或反间谍软件,并清理%TEMP%文件夹.

As we know, the precondition of installing VS well is that your OS is in a good condition. During the setup process, please also disable anti-virus or anti-spyware software and clean %TEMP% folder.

然后尝试使用VS 2013和VS 2015 ISO映像进行修复并重新安装.

Then try to use the VS 2013 and VS 2015 ISO image to repair and re-install.

如果上述方法仍然无法解决问题,我需要您安装日志文件来解决此问题,

If the above still doesn't help,I need you installation log file to troubleshoot this issue,

请使用 http://aka.ms/vscollect 来收集安装日志.使用它之后,您将在%temp%文件夹中找到vslogs.zip.请将文件上传到 https://onedrive.live.com/并在此处共享链接.

please use  http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip from %temp% folder. Please upload the file to  https://onedrive.live.com/ and share the link here.


最好的问候,


Best Regards,


这篇关于无法卸载Visual Studio社区2013或安装VS社区2015.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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