Skip to content

[Feature Request]: Support building the new Visual Studio solution file format (.slnx) #10266

@baronfel

Description

@baronfel

Summary

The VS team has a new XML-based format for solution files that simplifies the current sln file format. When released, it will have an open-source parser, so tools like MSBuild and the dotnet CLI can consistently operate on the format. The new format is intended to reduce common customer pains like merge conflicts and readability, but not to drastically change the experience of working with solutions. MSBuild should be able to build these solutions.

Background and Motivation

For many developers, not being able to build this format will result in not using the new format at all - what use is an IDE-only file when your CI/CD system cannot process it?

Proposed Feature

We should support accepting .slnx files for builds, using all of the same rules as .sln files today. We should

  • accept up to one slnx file if present in a directory as an argument to MSBuild
  • the presence of multiple sln, slnx, or projects in a directory should result in an ambiguity error
  • we should translate the slnx model to a metaproject that builds in the same manner as sln metaprojects today

This will require an OSS and public parser from the VS team to handle the new format.

Alternative Designs

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions