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

Commented Unassigned: NuGet.exe restore gives the same warning about prevent from downloading packages during build twice [3566]

$
0
0
Repro steps:
1. create a new MVC3 project
2. nuget.exe restore %pathTo.sln%


Expected: The warning about preventing from downloading packages is only shown once


Actual:

c:\temp>NuGet.exe restore MvcApplication1\MvcApplication1.sln
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio
Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to do
wnload missing packages'.
Restoring NuGet packages...
To prevent NuGet from downloading packages during build, open the Visual Studio
Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to do
wnload missing packages'.
Installing 'jQuery 1.7.1.1'.
Installing 'EntityFramework 5.0.0'.
Installing 'jQuery.UI.Combined 1.8.20.1'.
Installing 'jQuery.Validation 1.9.0.1'.
Successfully installed 'jQuery 1.7.1.1'.
Successfully installed 'jQuery.Validation 1.9.0.1'.
Installing 'Microsoft.AspNet.Mvc 3.0.20105.1'.
Successfully installed 'EntityFramework 5.0.0'.
Installing 'Microsoft.AspNet.Providers.Core 1.1'.
Comments: Actually, running nuget.exe restore from the command-line doesn't need to emit this message at all. The times we need to omit it are: 1. Inside Visual Studio, when the VsEvents package is restoring NuGet packages 2. From nuget.exe install when -requireconsent is specified If the user is invoking nuget.exe restore (or nuget.exe install) without the -requireconsent parameter, then we don't need to emit the message.

Viewing all articles
Browse latest Browse all 7612

Trending Articles



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