Churn in lock file syntax #12799
Closed
DalekBaldwin
started this conversation in
General
Replies: 2 comments
-
|
Update: It appears that the versions of Nuget chosen by both extant release streams of the dotnet 7 SDK (7.0.307 and 7.0.400) prefer the more verbose syntax ( |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The new version is the correct one. I think it's likely #11870 and NuGet/NuGet.Client#4683 that led to an unintentional change. That being said, this is a good change, and we haven't really gotten feedback beyond this, so I'll close this disc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Our team sees constant churn in our lock files in source control between specifying version numbers like "1.2.3" versus "[1.2.3, )", without any changes to how we are actually specifying them in our projects.
Particularly, for a dependency of
"type": "Project", the transitive dependencies:versus:
I believe this is related to changes in Nuget itself, but we have no mechanism to enforce pinning the version of Nuget itself in our repos the same way we can with
global.jsonor.config/dotnet-tools.json.Is there a brief description of what versions of Nuget itself correspond with changes in the
packages.lock.jsonformat?I notice that:
Is one of these formats going to be preferred going forward? Will this be stabilized between different downloads of the same SDK release?
Beta Was this translation helpful? Give feedback.
All reactions