aboutcode-org / aboutcode-org/nuget-inspector
Transitive packages are not shown
- 主要语言
- C#
- 星标
- 5
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi there,
I have downloaded the tool (binaries and source version 0.10.0) and found that it does not include transitive dependencies (anymore?). From what I have understood, this should work - it already worked in a previous version. However, I cannot fall back to an older version since I require the CPM support which was just introduced with 0.10.0.
I created a simple test project, with some NuGet packages:
And if I run nuget-inspector against that I got:
[test.json](https://github.com/user-attachments/files/29336197/test.json)
I was running this command:
`nuget-inspector.exe --verbose --with-details --project-file="D:\source\TestNuGet\TestNuGet\TestNuGet.csproj" --json=test.json`
```
nuget-inspector options:
--project-file D:\source\TestNuGet\TestNuGet\TestNuGet.csproj
--json test.json
--verbose
--with-details
Effective project framework: net8.0
PopulateResources: Loaded 1 package sources from nuget.config
AddSourceRepo: adding new https://api.nuget.org/v3/index.json
ProjectScanner: Using filename as project name: TestNuGet
Assembly version '1.0.0.0' in 'D:\source\TestNuGet\TestNuGet\obj\Debug\net8.0\TestNuGet.AssemblyInfo.cs'.
Selected version '1.0.0.0' from 'D:\source\TestNuGet\TestNuGet\obj\Debug\net8.0\TestNuGet.AssemblyInfo.cs'.
Using AssemblyInfoParser for project version: 1.0.0.0
Running scan of: D:\source\TestNuGet\TestNuGet\TestNuGet.csproj with fallback: False
Using project-assets.json lockfile at: D:/source/TestNuGet/TestNuGet/obj/project.assets.json
LockFile: NuGet.ProjectModel.LockFile
LockFile.Path: D:/source/TestNuGet/TestNuGet/obj/project.assets.json
LockFile.PackageSpec: NuGet.ProjectModel.PackageSpec
LockFile.PackageSpec.TargetFrameworks: System.Collections.Generic.List`1[NuGet.ProjectModel.TargetFrameworkInformation]
Found #6 dependencies with data_source_id: dotnet-project.assets.json
Project resolved: TestNuGet
Fetching package metadata for: Aspire.Hosting.Yarp.13.3.1
Fetching package metadata for: Aspire.Hosting.Yarp.13.3.1
Nuspec copyright: © Microsoft Corporation. All rights reserved.
Nuspec repo.type: git
Nuspec repo.url: https://github.com/microsoft/aspire
Nuspec repo.branch:
Nuspec repo.commit: 8d772432704b861dd4cd41cf0ef3b467543ec27c
Fetching package metadata for: Azure.Identity.1.21.0
Fetching package metadata for: Azure.Identity.1.21.0
Nuspec copyright: © Microsoft Corporation. All rights reserved.
Nuspec repo.type: git
Nuspec repo.url: https://github.com/Azure/azure-sdk-for-net
Nuspec repo.branch:
Nuspec repo.commit: f7400e4471111bf7f2154834022786119acbdd77
Fetching package metadata for: HotChocolate.AspNetCore.15.1.12
Fetching package metadata for: HotChocolate.AspNetCore.15.1.12
Nuspec copyright: Copyright © 2021 ChilliCream Inc.
Nuspec repo.type: GitHub
Nuspec repo.url: https://github.com/ChilliCream/graphql-platform.git
Nuspec repo.branch:
Nuspec repo.commit: 6e6a326b053d763af46280e40eb18005ce351061
Fetching package metadata for: Aspire.Hosting.Yarp.13.3.1
Nuspec copyright: © Microsoft Corporation. All rights reserved.
Nuspec repo.type: git
Nuspec repo.url: https://github.com/microsoft/aspire
Nuspec repo.branch:
Nuspec repo.commit: 8d772432704b861dd4cd41cf0ef3b467543ec27c
Fetching package metadata for: Azure.Identity.1.21.0
Nuspec copyright: © Microsoft Corporation. All rights reserved.
Nuspec repo.type: git
Nuspec repo.url: https://github.com/Azure/azure-sdk-for-net
Nuspec repo.branch:
Nuspec repo.commit: f7400e4471111bf7f2154834022786119acbdd77
Fetching package metadata for: HotChocolate.AspNetCore.15.1.12
Nuspec copyright: Copyright © 2021 ChilliCream Inc.
Nuspec repo.type: GitHub
Nuspec repo.url: https://github.com/ChilliCream/graphql-platform.git
Nuspec repo.branch:
Nuspec repo.commit: 6e6a326b053d763af46280e40eb18005ce351061
Run summary:
Dependencies resolved in: 5004 ms.
Metadata collected in: 863 ms.
Scan completed in: 5868 ms.
Scan Result: success: JSON file created at: test.json
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。