简体   繁体   中英

Visual studio 2017 - Not able to restore Nuget packages

I am using Visual Studio Enterprise 2017, I created a ASP.NET Web API project and it was working fine.

Today I got a new clone and when I tried to restore my packages, it keeps showing me this error

错误截图

I have tried the following

  1. Restarted Visual Studio as administrator
  2. Rebooted PC
  3. Disabled firewall settings
  4. Disabled antivirus
  5. Checked the port too, which is not being used

Nothing seems to work. Has anyone faced a similar issue? Is there any alternative way?

Not sure if this is an issue related to Visual Studio 2017, I managed to resolve this by opening the solution in visual studio 2015.

Again by opening in 2017, this is the solution for now. If anyone comes up with a better solution it will be great.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM