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

Commented Issue: warn user for consent on by default in nuget.exe same as in packagerestore event [3509]

$
0
0
1. On VWD 2010
2. install NuGet 2.6
3. create a project, install package and enable package restore
4. replace nuget.exe with 2.7 nuget.exe
5. delete packages folder
6. build
Actual:
package gets restored as with 2.7 nuget.exe package consent is on by default.
Whereas in VS user has opted to not download the packages.

Expected:
Either nuget.exe to honor the VS env for consent
OR
have a message similar to packagerestore event

"To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages during build.'"
You can also disable package restore by setting the environment variable 'EnableNuGetPackageRestore' to 'false'.
Can you still use enable nugetpackagerestore setting with NuGet.exe to disable?

Comments: I didn't see the error message getting added with the repro steps. Following up with @Fei

Viewing all articles
Browse latest Browse all 7612

Trending Articles



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