CycloneDX / CycloneDX/cyclonedx-dotnet
Passing environment variables to dotnet-cyclonedx
Open
stale
- Dominant language
- C#
- Stars
- 294
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
In some of my .csproj files I use variables to support different deployments.
example:
dotnet-cylonedx cannot resolve $(SourceDir) and will log an error that the project file does not exist.
How can I provide this $(SourceDir) as environment variable to dotnet-cyclonedx?
Contributor guide
Research direction
Start by reproducing the reported failure with dotnet-cyclonedx and a .csproj containing ProjectReference Include="$(SourceDir)SomePath\SomeProject.csproj". Trace how the tool loads the project and handles the SourceDir value; done means establishing a supported way to provide the variable or documenting that limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100