Central Package Management (CPM) and AllowedVersions in <PackageVersion> #14072
Unanswered
christophwille
asked this question in
Q&A
Replies: 1 comment
-
Actually... AllowedVersions isn't needed as I just found out, locking to a specific version works like this:
What I haven't figured out is the above "anything lower than 8" |
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
-
The basic idea
<PackageVersion Include="FluentAssertions" Version="7.0.0" AllowedVersions="[7.0.0,8.0.0)" />
with a syntax like https://learn.microsoft.com/en-us/nuget/concepts/package-versioning?tabs=semver20sort#version-ranges
Can this be done? (and is there anyone else who has a similar problem to solve)
Beta Was this translation helpful? Give feedback.
All reactions