Visual Studio 2017安裝問題彙總

安裝Visual Studio 2017時提示安裝組件錯誤

解決: 網絡 --》 更改連接屬性 --》 將公用改爲 專用 網絡即可.

 

15down vote

I encountered this problem in Visual Studio 2017 (15.7.4). After trying various solutions, eventually this worked for me: close all VS instances, run from the command line (possibly with Admin rights):

"devenv.exe /clearcache" and "devenv /updateconfiguration"

完全刪除後重新安裝VS

Have you tried to delete or rename the two folders?

you can try to remove the existing VS 2017 completely that install failed before as below:

  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 2017.

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