成功卸载VS2019的方法

Can you please follow the cleanup steps and retry your VS install, run the InstallCleanup.exe tool will remove installation files and product information for all installed instances of Visual Studio 2017 or Visual Studio 2019:

See if you have this file on your machine: “%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe”
If so, please launch it from an admin command prompt with a -full param
InstallCleanup.exe –full

If not, please manually delete the "%programfiles(x86)%\Microsoft Visual Studio\Installer” folder
Relaunch the newly downloaded vs_enterprise.exe (or vs_professional.exe or vs_community.exe…)
Allow the first step to install the installer
Once the installer comes up and you can see workload choices (.net desktop and the like), close it
Go launch the same InstallCleanup.exe to clean up old build of VS
Verify that your initial install location for VS is removed. If it is not, delete it manually.
Then relaunch vs_enterprise.exe and install VS

请按照清理步骤,重试您的 VS 安装, 运行 InstallCleanup.exe 工具将删除安装文件和产品信息的所有安装实例 Visual Studio 2017 或 Visual Studio 2019:

查看计算机上是否有此文件: “%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe”
如果是这样,请从带有 -完整参数的管理员命令提示符启动它
InstallCleanup.exe –full

如果没有,请手动删除 "%programfiles(x86)%\Microsoft Visual Studio\Installer”文件夹
重新启动新下载的vs_enterprise.exe(或vs_professional.exe 或vs_community.exe…)
允许安装安装程序的第一步
安装程序出现后,您可以看到工作负载选项(.net 桌面等),将其关闭
去启动相同的安装清理.exe 以清理 VS 的旧版本
验证您的 VS 初始安装位置已被删除。如果不是,请手动删除它。
然后重新启动vs_enterprise.exe 并安装 VS

你可能感兴趣的:(VS2019)