tweak wording of NU1603 #13446
Labels
Category:Quality Week
Issues that should be considered for quality week
help wanted
Considered good issues for community contributions.
Priority:2
Issues for the current backlog.
Type:Feature
NuGet Product(s) Involved
Other/NA
The Elevator Pitch
I got a bunch of these and was a little confused
[restore] .../TestProject.IntegrationServiceA.csproj : error NU1603: Warning As Error: TestProject.IntegrationServiceA depends on Aspire.StackExchange.Redis (>= 8.0.0) but Aspire.StackExchange.Redis 8.0.0 was not found. An approximate best match of Aspire.StackExchange.Redis 8.0.1 was resolved. [...]
How i read it
this confused me as 8.0.1 seems to match the >= constraint so how was it approximate?
What it's saying
Maybe the message would be clearer like
TestProject.IntegrationServiceA depends on Aspire.StackExchange.Redis (>= 8.0.0). Aspire.StackExchange.Redis 8.0.0 was preferred but not found. The next nearest available match Aspire.StackExchange.Redis 8.0.1 was resolved.
Additional Context and Details
No response
The text was updated successfully, but these errors were encountered: