You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project does not include a packages.config file.
Observed Behavior
I am using cyclonedx-dotnet on a .NET Framework 4.6.1 project. When I run:
dotnet CycloneDX project.sln -o ~/sbom
I get the following output:
Found the following local nuget package cache locations:
/Users/user/.nuget/packages/
/usr/local/share/dotnet/sdk/NuGetFallbackFolder
» Solution: /Users/user/Workspace/testproject/testproject.sln
Getting projects
» Analyzing: /Users/user/Workspace/testproject/testproject/testproject.csproj
Getting project references
No project references found
1 project(s) found
» Analyzing: /Users/user/Workspace/testproject/testproject/testproject.csproj
Attempting to restore packages
File not found: "/Users/user/Workspace//testproject/testproject/obj/project.assets.json", "/Users/user/Workspace/testproject/testproject/testproject.csproj"
No packages found
Hi @zuBux,
What I understood is that the .Net Framework includes already the named libraries (that is why there is no version needed) and you can only add more by using the packages.config and nuget.
I am not sure if the framework itself can be mapped as a bom entry, because this tool is focused on nuget references.
Summary
When running
cyclonedx-dotnet
on a .NET Framework 4.6.1 project,cyclonedx-dotnet
does not report any dependencies and returns an error.Context
testproject.csproj
includes the following section:The project does not include a
packages.config
file.Observed Behavior
I am using
cyclonedx-dotnet
on a .NET Framework 4.6.1 project. When I run:I get the following output:
The SBOM I get back is:
Expected behavior
No errors returned. Perhaps the SBOM should include the referenced packages described in the
.csproj
file as well?The text was updated successfully, but these errors were encountered: