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.

猜你喜欢

转载自blog.csdn.net/wohingradio88/article/details/84147122