logoalt Hacker News

Uvixtoday at 5:01 PM1 replyview on HN

NuGet is lock-by-default for the parent package, but with the move from packages.config to <PackageReference> it's no longer lock-by-default for dependencies.


Replies

Pxtltoday at 5:56 PM

It never made sense the other way. If I reference a package, logically I'm also referencing its dependencies at the version that the package uses. Forcing the user to also reference dependencies of dependencies of dependencies means the package reference lists aren't DRY.

show 1 reply