Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Created Issue: DonwloadNuGet task fails in multi-project solution [2743]

$
0
0
When using package restore in a multi-project solution, if DownloadNuGetExe is set to true in NuGet.targets the build will fail with the error "An exception occurred during a WebClient request".

The build output looks like this:

1>------ Build started: Project: FirstSilverlightAppWeb, Configuration: Debug Any CPU ------
2>------ Build started: Project: FirstSilverlightApp, Configuration: Debug Any CPU ------
2>Build started 10/21/2012 12:30:15 PM.
2>CheckPrerequisites:
2> Downloading latest version of NuGet.exe...
2>C:\temp\projects\Silverlight_SimpleSilverlightApp\CodeCS\.nuget\nuget.targets(73,9): error : An exception occurred during a WebClient request.
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.27
1>Build started 10/21/2012 12:30:15 PM.
1>CheckPrerequisites:
1> Downloading latest version of NuGet.exe...
1>RestorePackages:
1> "C:\temp\projects\Silverlight_SimpleSilverlightApp\CodeCS\.nuget\nuget.exe" install "C:\temp\projects\Silverlight_SimpleSilverlightApp\CodeCS\FirstSilverlightAppWeb\packages.config" -source "" -RequireConsent -o "C:\temp\projects\Silverlight_SimpleSilverlightApp\CodeCS\packages"
1> Successfully installed 'PackageA 7.0.2-beta1'.
1> Successfully installed 'PackageB 7.0.2-beta1'.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>