3

In Nuget, is there a way to specify a timeout value when executing the nuget restore command? I would like to increase the default timeout (not sure what it is) - since I'm getting a lot of request timeout errors.

govin
  • 6,445
  • 5
  • 43
  • 56
  • 1
    No, there isn't. Generally people have the opposite problem in that NuGet gets an HTTP timeout while trying to restore the package. – Jeff Prince Aug 20 '15 at 17:44
  • One thing you can do if you are finding the response time of NuGet Package Restore to be too slow, is to create your own NuGet repository locally and put the packages on that repository instead. This is also usually a good idea to better control individual developers going rogue and just updating from the NuGet public site, perhaps introducing regression issues between versions. – Jeff Prince Aug 20 '15 at 17:45

0 Answers0