aboutcode-org / aboutcode-org/nuget-inspector

Version of dependency not determined correctly

未关闭
#59 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
5
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。