Visual Studio 2017 RC在中间取消更新后停止工作 [英] Visual Studio 2017 RC stopped working after update was cancelled in the middle

查看:103
本文介绍了Visual Studio 2017 RC在中间取消更新后停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在中间取消了最新的VS 2017 RC更新。在VS停止工作之后 - 我得到了"此安装的设置未完成,运行安装程序"。


当我运行安装程序并按启动时,我得到了同样的消息。


当我按下修改时,我收到一条带有"参数异常"的消息


当我按下修复时,我得到一个消息"安装操作失败"使用以下日志 -  


[24a4:0016] [2017-02-05T21:20:39]错误0x80070057: 

    at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root,IEnumerable`1 packages,DependencyComparer comparer,Dictionary`2 packageIndex,Dictionary`2 nodeIndex,Boolean splitNodes)

    at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root,IEnumerable`1 packages,Boolean isUpdate,IDependencyComparisonSeed seed)

    at Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product,Boolean overwrite)根节点"Microsoft.VisualStudio.Product.Enterprise,version = 15.0.26020.0""不在包集合中。

参数名称:root

[24a4:0016] [2017-02-05T21:20:39]错误0x80070057: 

    at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root,IEnumerable`1 packages,DependencyComparer comparer,Dictionary`2 packageIndex,Dictionary`2 nodeIndex,Boolean splitNodes)

    at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root,IEnumerable`1 packages,Boolean isUpdate,IDependencyComparisonSeed seed)

    at Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product,Boolean overwrite)

    at Microsoft.VisualStudio.Setup.Engine.CreateInstallOperation(Product product,String destination,ExecuteAction action)

    at Microsoft.VisualStudio.Setup.Engine.Repair(CancellationToken token)根节点"Microsoft.VisualStudio.Product.Enterprise,version = 15.0.26020.0""不在包裹集合中。

参数名称:root



I还试图卸载VS 2017并重新安装它,但结果相同。



谢谢


解决方案


欢迎来到MSDN论坛。


我建议你可以通过以下步骤完全卸载visual studio 2017:


  1. 转到"控制面板 - 程序和功能",如果有"Microsoft Visual Studio 2017",右键单击它并选择"卸载"
  2. 尝试删除以下已安装的文件夹:(您可以在进行任何修改之前备份这些文件夹,以防我们需要回滚)


•转到文件夹:%ProgramData%\ Myicoft \VisualStudio并删除'Packages'文件夹和'Setup'文件夹(如果有)。


•转到Visual Studio安装文件夹(通常在%ProgramFiles(x86)%\ Microsoft Visual Studio下)并删除文件夹'2017'


之后,重新安装visual studio 2017RC。


祝你好运,


乔伊斯


Hi, I've cancelled in the middle the latest VS 2017 RC update. after that VS stopped working - I'm getting "the setup for this installation is not complete, run the installer".

When I run the installer and press Launch I'm getting the same message.

When I press modify I'm getting a message with "Argument Exception"

When I press repair I'm getting a message with "Setup operation failed" with the following log - 

[24a4:0016][2017-02-05T21:20:39] Error 0x80070057: 
   at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root, IEnumerable`1 packages, DependencyComparer comparer, Dictionary`2 packageIndex, Dictionary`2 nodeIndex, Boolean splitNodes)
   at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root, IEnumerable`1 packages, Boolean isUpdate, IDependencyComparisonSeed seed)
   at Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product, Boolean overwrite)The root node "Microsoft.VisualStudio.Product.Enterprise,version=15.0.26020.0" is not in the package collection.
Parameter name: root
[24a4:0016][2017-02-05T21:20:39] Error 0x80070057: 
   at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraphCore(IPackage root, IEnumerable`1 packages, DependencyComparer comparer, Dictionary`2 packageIndex, Dictionary`2 nodeIndex, Boolean splitNodes)
   at Microsoft.VisualStudio.Setup.Dependencies.DependencyManager.BuildGraph(IPackage root, IEnumerable`1 packages, Boolean isUpdate, IDependencyComparisonSeed seed)
   at Microsoft.VisualStudio.Setup.Engine.BuildDependencyGraph(Product product, Boolean overwrite)
   at Microsoft.VisualStudio.Setup.Engine.CreateInstallOperation(Product product, String destination, ExecuteAction action)
   at Microsoft.VisualStudio.Setup.Engine.Repair(CancellationToken token)The root node "Microsoft.VisualStudio.Product.Enterprise,version=15.0.26020.0" is not in the package collection.
Parameter name: root

I've also tried to uninstall VS 2017 and reinstall it but with the same results.

Thanks

解决方案

Hi,

Welcome to MSDN forum.

I recommend you could uninstall visual studio 2017 completely by the following steps:

  1. Go to Control Panel—Programs and Features, if there has ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’
  2. Try to delete the following installed folders: (you can back up those folders before any modification, in case we need to roll back)

• Go to the folder: %ProgramData%\Microsoft\VisualStudio and delete the ‘Packages’ folder and ‘Setup’ folder if there has.

• Go to the Visual Studio installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio) and delete the folder ‘2017’

After this, reinstall visual studio 2017RC.

Best regards,

Joyce


这篇关于Visual Studio 2017 RC在中间取消更新后停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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