How to pin a package and prevent from accidentally updating? #13187
Unanswered
darthkurak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am trying to pin a package in my CPM "Directory.Packages.props" file.
I did for example
<PackageVersion Include="Azure.Core" Version="[1.36.0]" />
BUT,
dotnet add package 1.37.0 - will change it to 1.37.0, and i will get only warning NU1608.
Also, the Rider Nuget manager seems to ignore this and shows me an update, and when updating - changes the version.
Am I doing something wrong?
How actually in Nuget world, having CPM, i can pin some package and prevent it from accidentally updating?
Beta Was this translation helpful? Give feedback.
All reactions