Switch solution to .slnx - #521
Merged
Merged
Conversation
Matches MudBlazor/ThemeManager and MudBlazor/MudBlazor.Icons, which both use the XML `.slnx` solution format. Generated with `dotnet sln src/MudBlazor.Templates.sln migrate`, then removed the old `.sln` and repointed the `dotnet` invocations in `continuous.yml` and `release.yml`. Note that `src/mudblazor/MudBlazor.Template.sln` is deliberately left alone. That file is template content — it is referenced by `.template.config/template.json` and ships to users through `dotnet new`, so converting it would change generated output and impose an SDK floor on consumers. That is a separate decision from the format this repo builds with.
Merged
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.
build from the XML
.slnxsolution format like our other repos.Changes
src/MudBlazor.Templates.slnxwithdotnet sln src/MudBlazor.Templates.sln migrate, then deleted the old.sln.dotnetinvocations incontinuous.ymlandrelease.yml.The resulting file is the whole solution, and matches the shape used in the other two repos:
src/mudblazor/MudBlazor.Template.slnstays a.sln. It is template content, not build infrastructure —.template.config/template.jsonreferences it by name as a primary output and in twoexclude/rename rules, and it ships to users throughdotnet new. Converting it would change generated project output and impose an SDK floor (.slnxneeds 9.0.200+) on everyone using the template. That is a product decision, separate from the format this repo builds with, so it is out of scope here.For the same reason the
*.sln text eol=crlfrule in.gitattributesis unchanged — it still applies to that file.