My office firewall does not allow us to use the Microsoft forwarder link but using the http://packages.nuget.org/v1/FeedService.svc url as a source works normally. It would also fail if you were disconnected from nuget.org for some reason.
The reported error was not initially helpful. All it said was "Failed to add import 'NuGet.targets' to $project". Since this was a download error I would expect to see that as the reason.
Also, since the download will always fail in my situation, can you use the locally configured nuget sources to get NuGet.Build?
My office firewall does not allow us to use the Microsoft forwarder link but using the http://packages.nuget.org/v1/FeedService.svc url as a source works normally. It would also fail if you were disconnected from nuget.org for some reason.
The reported error was not initially helpful. All it said was "Failed to add import 'NuGet.targets' to $project". Since this was a download error I would expect to see that as the reason.
Also, since the download will always fail in my situation, can you use the locally configured nuget sources to get NuGet.Build?