Skip to content

Conversation

@RikkiGibson
Copy link
Member

Moving to slnx improves the clarity and maintainability of the solution file.

See also dotnet/sdk#49291 for another example of such a conversion.

Since this change may be disruptive (will break peoples Recent Solutions list etc when pulling latest main) we will want some team discussion and heads-up before taking the change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think @CyrusNajmabadi had a concern about this being loadable in MSBuildWorkspace, but that seems to be possible: #77326

@RikkiGibson RikkiGibson marked this pull request as ready for review November 5, 2025 00:43
@RikkiGibson RikkiGibson requested review from a team as code owners November 5, 2025 00:43
@@ -0,0 +1,414 @@
<Solution>
Copy link
Member

@jcouv jcouv Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, this slnx file was produced by dotnet sln migrate or some other mechanism? #Closed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, no manual changes appear to be needed. I will do a few more spot checks before merging though (verify count of projects before and after, verify numbers of tests running in CI.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Number of tests and number of projects both check out.

1. [PowerShell 5.0 or newer](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell). If you are on Windows 10, you are fine; you'll only need to upgrade if you're on earlier versions of Windows. The download link is under the ["Upgrading existing Windows PowerShell"](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6#upgrading-existing-windows-powershell) heading.
1. Run Restore.cmd
1. Open Roslyn.sln
1. Open Roslyn.slnx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Not related to PR, we may want to mention Compilers.slnf for compiler work

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks (commit 3)

@jcouv jcouv self-assigned this Nov 5, 2025
Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks (commit 5)

@@ -1,2390 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is still a mention of Roslyn.sln in .github\copilot-instructions.md

<BuildDependency Project="src/EditorFeatures/VisualBasic/Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.vbproj" />
</Project>
<Project Path="src/Tools/BuildActionTelemetryTable/BuildActionTelemetryTable.csproj" />
<Project Path="src/Tools/BuildBoss/BuildBoss.csproj" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We seem to have other .sln files in the repo (like eng\eng.sln, src\Tools\BuildBoss\BuildBoss.sln, ...) but that's presumably out of scope of this PR.

@jjonescz
Copy link
Member

jjonescz commented Nov 5, 2025

Note: the CI failure is unrelated, should be fixed by #81048

@RikkiGibson
Copy link
Member Author

I'll plan to merge in the morning and send out notice to x-team.

@RikkiGibson RikkiGibson merged commit 68d21ed into dotnet:main Nov 6, 2025
29 checks passed
@RikkiGibson RikkiGibson deleted the slnx branch November 6, 2025 21:02
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Nov 6, 2025
@davidwengier davidwengier modified the milestones: Next, 18.3 Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants