microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
227 stars 11 forks source link

[SUGGESTION] Support new Visual Studio Solution XML File Format (SLNX) #1533

Open fredrikhr opened 7 hours ago

fredrikhr commented 7 hours ago

Describe the feature you'd like

Currently in preview is a new file format for Visual Studio Solution Files, the XML Solution File with the .slnx file extension.

The DevKit does not recogize these as solution files. And with default settings it will actually create a legacy .sln file next to it (unless the setting dotnet.automaticallyCreateSolutionInWorkspace is set to false).

Since the new .slnx makes it easier to modify solutions in a simple text editor without the need for a fully fledged IDE, it is a natural evolution for the Solution Explorer and solution related features in the DevKit.

Alternatives considered

There is always the possiblity to revert back to the .sln file format.

Environment Information

fredrikhr commented 7 hours ago

related: https://github.com/dotnet/sdk/issues/40913