Migrate to .slnx solution file using dotnet sln migrate#207
Merged
BenjaminMichaelis merged 3 commits intomainfrom Oct 6, 2025
Merged
Migrate to .slnx solution file using dotnet sln migrate#207BenjaminMichaelis merged 3 commits intomainfrom
BenjaminMichaelis merged 3 commits intomainfrom
Conversation
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] run
Add .slnx solution file using dotnet sln migrate
Oct 6, 2025
dotnet sln migrate (https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln#migrate) to add in a .slnx file to live alongside our .sln file for now (.sln for backwards compatibility for now)
Member
|
@copilot maybe we can drop the .sln file and just keep the .slnx? We get this otherwise. Run dotnet restore |
Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
Contributor
Author
Done! Removed the .sln file in commit 77884b5. The repository now uses only the .slnx file, which resolves the ambiguity error in CI/CD workflows. Verified that |
Copilot
AI
changed the title
Add .slnx solution file using dotnet sln migrate
Migrate to .slnx solution file using dotnet sln migrate
Oct 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR migrates the repository to use the new
.slnx(XML-based solution) file format for improved compatibility with modern .NET tooling and Visual Studio.Changes
EssentialCSharp.ListingManager.slnxusing thedotnet sln migratecommandEssentialCSharp.ListingManager.slnfile to avoid CI/CD ambiguity errors when multiple solution files are presentBenefits
The
.slnxformat is a new XML-based solution file format introduced in .NET 9 that provides:Verification
The
.slnxfile has been tested and works correctly:The
.slnxfile contains the same two projects and solution items as the original.slnfile:ListingManager/EssentialCSharp.ListingManager.csprojListingManager.Tests/EssentialCSharp.ListingManager.Tests.csprojResolves the requirement to migrate to the new solution format.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.