无法修复Visual Studio 2017 Preview 4安装 [英] Cannot repair Visual Studio 2017 Preview 4 installation

查看:79
本文介绍了无法修复Visual Studio 2017 Preview 4安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Visual Studio 2017 Preview 4但是CMake集成不起作用。尝试修复安装也会失败,并显示以下消息:

I have installed Visual Studio 2017 Preview 4 however the CMake integration does not work. Trying to repair the installation also fails with the following message:

我应该如何解决此问题?我已经尝试使用此处提供的说明多次清除安装:

Any ideas how I should fix this issue? I have already tried to clear the installation multiple times using the instructions provided here:

https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues

https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues

但我仍然会遇到完全相同的问题。

but I am still going through the exact same issues.

推荐答案

您好AliAskari,

Hi AliAskari,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

根据您的描述,似乎卸载是如果不完整,请尝试删除之前安装失败的现有VS 2017,如下所示:

According to your description, seems that the uninstallation is not complete, please try to remove the existing VS 2017 that install failed before as below:

1。转到"控制面板 - 程序和功能",选择"Microsoft Visual Studio 2017",右键单击它并选择"卸载"

1. Go to Control Panel—Programs and Features, select ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’

2。尝试删除以下已安装的文件夹:(您可以在修改之前备份这些文件夹,以防我们需要回滚)

2. Try to delete the following installed folders: (you can back up those folders before any modification, in case we need to roll back)

%ProgramData%\ Microsoft \ Visual Studio 并删除
'套餐'
文件夹和'设置'文件夹(如果有)。

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

%ProgramFiles(x86)%\ Microsoft Visual Studio ),删除文件夹'2017'

3。使用 Visual Studio卸载程序  到
卸载VS干净

3. Use Visual Studio Uninstaller to uninstall VS cleanly

4。下载
Windows 10 Universal C Runtime
,修复所有Visual C ++来自控制面板的可再发行项目。

4. Download Windows 10 Universal C Runtime , repair all the Visual C++ Redistributable items from Control Panel.

最好的问候,


这篇关于无法修复Visual Studio 2017 Preview 4安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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