Skip to content

Unable to load projects in solution, when path contains a variable #942

@janaka44

Description

@janaka44

In my .net solution, there are some paths containing a variable name like this:
<ProjectReference Include="$(ConfigSrcDir)\AB.Config\AB.Config.Model\AB.Config.Model.csproj" />

CycloneDx complains with these errors as it cannot locate these projects:

Project file ".......\AB.Config.Model.csproj" does not exist

These variables are defined in a separate file: Directory.Build.targets

Is there a way to either:

  1. Let CycloneDx know where these variables are defined ?
    OR
  2. manually specify these variable values ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededready for developmentIssue is sufficiently defined and suitable for contributors to start working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions