Description
The tool currently detects only legacy Visual Studio solution files (.sln).
It does not recognize the newer .slnx format, which causes csharp_set_workspace to fail when a workspace contains only a .slnx solution.
Expected behavior
- Detect and support
.slnx files in addition to .sln
- Allow
csharp_set_workspace to initialize the workspace using a .slnx solution
Why this is important
.slnx is the new XML-based solution format introduced in recent versions of Visual Studio and .NET, and its adoption is expected to grow. Supporting it ensures compatibility with modern .NET projects.
Reproduction
- Create a workspace containing only
MySolution.slnx
- Call
csharp_set_workspace
- Workspace initialization fails
Description
The tool currently detects only legacy Visual Studio solution files (
.sln).It does not recognize the newer
.slnxformat, which causescsharp_set_workspaceto fail when a workspace contains only a.slnxsolution.Expected behavior
.slnxfiles in addition to.slncsharp_set_workspaceto initialize the workspace using a.slnxsolutionWhy this is important
.slnxis the new XML-based solution format introduced in recent versions of Visual Studio and .NET, and its adoption is expected to grow. Supporting it ensures compatibility with modern .NET projects.Reproduction
MySolution.slnxcsharp_set_workspace