CycloneDX / CycloneDX/cyclonedx-dotnet

Passing environment variables to dotnet-cyclonedx

Open
#659 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.