CycloneDX / CycloneDX/cyclonedx-dotnet

Project paths parsed from Projects

Open
#978 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
C#
Stars
294
Forks
123
PR merge metrics
No merged PRs in 30d

Description

When csproj contains MsBuild Variables in the ProjectReferences they are not properly replaced but just are literally copied.

"ref": "C:\\Source\\\\Tool\\Project\\$(RootDirectory)Tool\\Tool.csproj@undefined",
"dependsOn": []
},

$(RootDirectory) is a Property in the Build

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the shown csproj ProjectReferences example, including the $(RootDirectory) MSBuild property. Trace the project-reference path parsing and replacement behavior; done means the generated ref resolves the property instead of retaining the literal variable and an undefined suffix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.