VS2019無法卸載修復的解決方案

系統出現問題使用恢復點恢復了下,VS2019不能卸載修復更新了,bing國際版搜索關鍵詞uninstall visual studio 2019 搜到下面這個社區的解決方案,鏈接:Unable to repair, modify or uninstall VS 2019https://developercommunity.visualstudio.com/content/problem/530941/unable-to-repair-modify-or-uninstall-vs-2019.html;按照說明操作解決問題,關鍵內容摘錄如下,以供大家遇到同樣問題時採納:

I’m sorry to hear that this issue still blocks you. It seems that your vs instances have become corrupted. Unfortunately, machines already in this state are forced to clean up their installations and apply a fresh Visual Studio installation.

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

Please let us know if this unblocks you.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章