aboutcode-org / aboutcode-org/nuget-inspector

Version of dependency not determined correctly

Đang mở
#59 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
5
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I have the following context with a transient NuGet dependency in a C# project.

Common/Common.csproj: Using Microsoft.Azure.Cosmos 3.42.0
TargetProject/TargetProject.csproj: Using Common and using AspNetCore.HealthChecks.CosmosDb 8.0.1 which has a dependency on Microsoft.Azure.Cosmos 3.37.0 or higher.

Sample project: https://github.com/nnobelis/NugetInspectorResolutionExample

Because TargetProject is using Common, the used cosmos version in project 2 is 3.42.0. I can see that in the bin folder as well (deps.json refers to 3.42.0 and the dll version is 3.42.0).
Despite effectively using Microsoft.Azure.Cosmos 3.42.0, Nuget Inspector still find Cosmos 3.37.0 as a dependency of TargetProject (see https://github.com/nnobelis/NugetInspectorResolutionExample/blob/main/nuget-inspector.json).

I expect the dependency to be Cosmos@3.42.0 as specified in Common.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.