codeql
codeql copied to clipboard
Support for `.slnx` Solution Format Not Yet Implemented
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:
https://github.com/github/codeql/blob/d83cbde1cb1263fb476a55ea5fd7972307138905/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/FileProvider.cs#L40
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?
Hi
Thanks for bringing this to our attention; it's not on our roadmap right now, but I'll make sure to add it to our backlog.
@hvitved
If possible please add .slnf also (https://learn.microsoft.com/en-us/visualstudio/msbuild/solution-filters?view=vs-2022)