安裝Visual Studio 2017時提示安裝組件錯誤
解決: 網絡 --》 更改連接屬性 --》 將公用改爲 專用 網絡即可.
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:
- Go to Control Panel—Programs and Features, if there has ‘Microsoft Visual Studio 2017’, right click it and choose ‘Uninstall’
- 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.