From 78da988dfc03c38e11f66ca91826cf54710357ae Mon Sep 17 00:00:00 2001 From: Daniel Chalmers Date: Sun, 26 Jul 2026 22:53:23 -0500 Subject: [PATCH] Switch solution to `.slnx` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/continuous.yml | 6 +++--- .github/workflows/release.yml | 2 +- src/MudBlazor.Templates.sln | 25 ------------------------- src/MudBlazor.Templates.slnx | 3 +++ 4 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 src/MudBlazor.Templates.sln create mode 100644 src/MudBlazor.Templates.slnx diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 19b9b7dc..c3a7834d 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -28,11 +28,11 @@ jobs: key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: ${{ runner.os }}-nuget- - name: Restore - run: dotnet restore src/MudBlazor.Templates.sln + run: dotnet restore src/MudBlazor.Templates.slnx - name: Build - run: dotnet build src/MudBlazor.Templates.sln --configuration Release --no-restore + run: dotnet build src/MudBlazor.Templates.slnx --configuration Release --no-restore - name: Pack - run: dotnet pack src/MudBlazor.Templates.sln --configuration Release --no-build --output artifacts/packages + run: dotnet pack src/MudBlazor.Templates.slnx --configuration Release --no-build --output artifacts/packages - name: 'Publish: packages' uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a4f8303..4f34bc5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: ${{ runner.os }}-nuget- - name: Pack - run: dotnet pack src/MudBlazor.Templates.sln --configuration Release --output artifacts/packages + run: dotnet pack src/MudBlazor.Templates.slnx --configuration Release --output artifacts/packages - name: 'Push: nuget.org' env: NUGET_KEY: ${{ secrets.NUGET_KEY }} diff --git a/src/MudBlazor.Templates.sln b/src/MudBlazor.Templates.sln deleted file mode 100644 index 3e893e68..00000000 --- a/src/MudBlazor.Templates.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.9.34902.65 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MudBlazor.Templates", "MudBlazor.Templates.csproj", "{7EAFF69B-A5AD-4A6C-A70D-DA61C3278F20}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7EAFF69B-A5AD-4A6C-A70D-DA61C3278F20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7EAFF69B-A5AD-4A6C-A70D-DA61C3278F20}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7EAFF69B-A5AD-4A6C-A70D-DA61C3278F20}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7EAFF69B-A5AD-4A6C-A70D-DA61C3278F20}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6F2CB990-E8D8-4534-9AFE-676348D0341F} - EndGlobalSection -EndGlobal diff --git a/src/MudBlazor.Templates.slnx b/src/MudBlazor.Templates.slnx new file mode 100644 index 00000000..8be2ea6d --- /dev/null +++ b/src/MudBlazor.Templates.slnx @@ -0,0 +1,3 @@ + + +