Skip to content

Support for .slnx Solution Format Not Yet Implemented #19767

Description

@samtrion

Hello CodeQL team,

I would like to raise awareness that the newer .slnx solution format introduced by Microsoft is currently not supported by the C# extractor in CodeQL.

The following line in the source suggests that only traditional .sln files are recognized:

solutions = new Lazy<string[]>(() => SelectTextFileNamesByExtension("solution", ".sln"));

As outlined in the official announcement by Microsoft:
https://devblogs.microsoft.com/dotnet/introducing-slnx-support-dotnet-cli/

.slnx files are designed to work seamlessly with the .NET CLI and represent a modern evolution of solution management in .NET ecosystems. As adoption increases, support in CodeQL would ensure compatibility with a broader range of real-world .NET projects.

Is there any plan or roadmap item to add support for .slnx?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions