cyclonedx-dotnet
cyclonedx-dotnet copied to clipboard
Unsupported project types are included in the processing if they are referenced from a supported project type.
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.