Skip to content

Feature Request: Support .slnx Visual Studio solution format #3

Description

@Therrania

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

  1. Create a workspace containing only MySolution.slnx
  2. Call csharp_set_workspace
  3. Workspace initialization fails

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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