Can't handle referenced build properties for AssemblyName #917
Labels
bug
Something isn't working
help wanted
Extra attention is needed
ready for development
Issue is sufficiently defined and suitable for contributors to start working
Current Behavior
We use the following definition in all our project files:
If you now reference multiple such projects in a main project, cyclonedx-dotnet throws an error:
Workaround
To work around this issue, you could set
AssemblyName
explicitly.Reversing the reference of the build property is not a good solution because it can make problems in other tools (e.g. ReSharper):
Reproduction
For reproduction use the added solution folder and execute:
Expected Behavior
Resolve referenced build properties for
AssemblyName
or detect such use cases and return a descriptive error message that cyclonedx-dotnet can't handle it.Environment
dotnet cyclonedx --version
dotnet --info
The text was updated successfully, but these errors were encountered: