Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
janaka44 opened this issue May 2, 2025 · 0 comments
Open
Labels
triage Don't know what to do with this yet

Comments

@janaka44
Copy link

janaka44 commented May 2, 2025

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 ?
@github-actions github-actions bot added the triage Don't know what to do with this yet label May 2, 2025
@janaka44 janaka44 changed the title Unable to load a project in solution, when path contains a variable Unable to load projects in solution, when path contains a variable May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Don't know what to do with this yet
Projects
None yet
Development

No branches or pull requests

1 participant