1

I have installed all dependencies and Nuget packages

enter image description here

But I am getting below error when project created :-

enter image description here

What can be done for above error resolution?

Error       Failed to download package 'Microsoft.Build.Runtime.15.3.409' from 'https://api.nuget.org/v3-flatcontainer/microsoft.build.runtime/15.3.409/microsoft.build.runtime.15.3.409.nupkg'.
The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.build.runtime/15.3.409/microsoft.build.runtime.15.3.409.nupkg' has timed out after 100000ms.              
8
  • 1
    It would help if you posted the actual error. What happens when you try to build? Commented Mar 23, 2018 at 16:46
  • Looks like you need to Restore your nuget packages Commented Mar 23, 2018 at 16:49
  • 1
    @CSharper Yes, but that doesn't mean that they aren't missing from the Packages Folder. Like if you were doing a fresh install from git. Commented Mar 23, 2018 at 16:51
  • 1
    You've added the package reference but haven't necessarily installed it to the project. Commented Mar 23, 2018 at 16:51
  • 3
    You probably have a proxy blocking NuGet access Commented Mar 23, 2018 at 16:54

2 Answers 2

2

Nuget has a status page which should tell you if it's nuget.org having issues: https://status.nuget.org/.

The HTTP request to 'GET https://api.nuget.org/v3-flatcontainer/microsoft.build.runtime/15.3.409/microsoft.build.runtime.15.3.409.nupkg' has timed out after 100000ms. suggestes that the issues are indeed network related as @babak-naffas has already suggested.

Sign up to request clarification or add additional context in comments.

2 Comments

All systems are operational. Last checked 3 minutes ago.
This is the status
1

Your issue sounds network related.

Open your browser and try to download the file https://api.nuget.org/v3-flatcontainer/microsoft.build.runtime/15.3.409/microsoft.build.runtime.15.3.409.nupkg manually.

One of the comments (which has since been removed it seeems) referred to https://github.com/NuGet/Home/issues/2657 in which had the following comment after some back and forth.

I spoke to the OP offline and his issue has been resolved. The issue seemed to be related with some proxy settings...

1 Comment

I am able to download nuget package from browser

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.