CycloneDX / cyclonedx-dotnet

Creates CycloneDX Software Bill of Materials (SBOM) from .NET Projects
https://cyclonedx.org/
Apache License 2.0
178 stars 84 forks source link

dotnet CycloneDX Use these two parameters: --exclude-test-projects --exclude-dev why doesn't it work? I want to delete the name in the box #841

Closed JY1990 closed 8 months ago

JY1990 commented 8 months ago
企业微信截图_17061536594139
JY1990 commented 8 months ago
企业微信截图_17061536731614
JY1990 commented 8 months ago

Execute the command:dotnet CycloneDX .\Nova.sln -o C:\Desktop\server\ --exclude-test-projects --exclude-dev -dgl Why did the name SLN appear How do I fix this? The version used is 3.0.5

mtsfoni commented 8 months ago

This is the name of your application. It's the root for all dependencies. The component node is under the metadata node, and is not a "dependency-component". You cannot remove it, because that's what your dependencies hang on.

You can however change its name and version with the -sn and -sv argument or by importing a metafile -imp

mtsfoni commented 8 months ago

Closing as -sn should be your solution. If you still have a problem, feel free to write again.