cyclonedx-dotnet icon indicating copy to clipboard operation
cyclonedx-dotnet copied to clipboard

Unsupported project types are included in the processing if they are referenced from a supported project type.

Open petercullen68 opened this issue 7 months ago • 5 comments

We have a .sln that contains a mixture of .csproj and .vcxproj. The initial prcocessing in GetSolutionProjectReferencesAsync correctly removed invalid projects calling Utils.IsSupportedProjectType.

However the code just below this then loops through the valid projects and calls _projectFileService.RecursivelyGetProjectReferencesAsync to return a list of project references. It does not filter these references using Utils.IsSupportedProjectType. In my case this causes the program to crash attempting to process a .vcxproj.

petercullen68 avatar Jul 24 '24 02:07 petercullen68