Enable NuGet Package Restore doesn't work on TFS Build server

Topics: General
Jun 6, 2013 at 4:52 PM

I did "Enable NuGet Package Restore" on my VS2010 solution and now, it fails on TFS2010 Bui_ld server. I have this error :

C:\Builds\4\MyProject\Dev.nuget\nuget.targets (87) : An error occurred while loading packages from'http://nuget.org/api/v2': Expected an absolute, well formed http URL without a query or fragment.

Thank you for your help