chore: upgrade to .NET 10, migrate to .slnx, bump to 0.4.0-alpha.1#19
Merged
Conversation
…roject structure - Deleted the ShellUI solution file as part of project restructuring. - Introduced a new BlazorInteractiveServer project with essential configuration files, including appsettings, project file, and Tailwind CSS setup. - Added multiple components and demo pages to showcase UI elements and functionality. - Implemented logging configuration and established a foundation for further development.
- Updated the .NET version from 9.0.x to 10.0.x across CI, release, and preview workflows. - Changed solution file references from ShellUI.sln to ShellUI.slnx to align with project restructuring.
- Updated the TargetFramework from net9.0 to net10.0 across multiple project files. - Upgraded package references for Microsoft.AspNetCore.Components.WebAssembly and Microsoft.AspNetCore.Components.WebAssembly.DevServer to version 10.0.0. - Adjusted CLI integration test paths to reflect the new framework version.
- Bumped ShellUI version to 0.4.0 with suffix updated to alpha.1 in Directory.Build.props. - Upgraded global.json to use .NET SDK version 10.0.100. - Introduced new solution file ShellUI.slnx to reflect project structure. - Updated ShellUI.Core project to target .NET 10.0.
- Revised architecture and project status documents to reflect the transition from .NET 9.0 to .NET 10.0. - Updated prerequisites and demo instructions in the Tailwind CSS setup guide to align with the new .NET version. - Enhanced rationale for targeting .NET 10.0, emphasizing long-term support and new features.
- Added *.sln to .gitignore to prevent solution files from being tracked in the repository.
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.
Summary
First branch of the 0.4 cycle. Bumps every TargetFramework from
net9.0→net10.0, renames the demo folderNET9/→NET10/, migrates the solution to the new.slnxXML format, removes theEnableStaticWebAssetsCompression=falseworkaround (the .NET 10 SDK fixed the underlying bug), and bumps the centralized version to0.4.0-alpha.1.Single-target
net10.0for simplicity.net9.0STS reaches EOL this month;net8.0LTS users can stay on the0.3.xline until they upgrade. If enterprise demand justifies it later, we can multi-targetnet8.0;net10.0in a follow-up before 1.0.C# 14 modernization (
fieldkeyword, partial constructors, extension members, etc.) is intentionally not in this branch — it'll get its own dedicatedchore/csharp14-sweepbranch later so the diff is reviewable.Changes
Framework + tooling
global.json— SDK pin9.0.100→10.0.100Directory.Build.props—0.3.0-rc.1→0.4.0-alpha.1.csprojs (Core,Templates,CLI,Components,Tests) —<TargetFramework>net9.0</TargetFramework>→net10.0.csprojs (BlazorInteractiveServer,ShellUI.Preview) — same TFM bumpMicrosoft.AspNetCore.Components.Webpackage ref9.0.6→10.0.0(Components)Microsoft.AspNetCore.Components.WebAssemblyand.DevServer9.0.0→10.0.0(Preview)IntegrationTest1.cs— hardcoded CLI build pathbin/Release/net9.0/→bin/Release/net10.0/Solution format migration
ShellUI.slnremoved,ShellUI.slnxgenerated viadotnet sln ShellUI.sln migrate. Cleaner XML, much more diffable, no copy-paste risk:dotnet restore|build|test|pack ShellUI.slninvocations updated toShellUI.slnxDemo folder rename
NET9/→NET10/(git mv, preserves history per the rename detector). Updated the preview-pages workflow path filters and publish step accordingly..NET 10 SDK fixed our workaround
ShellUI.Components.csproj—<EnableStaticWebAssetsCompression>false</EnableStaticWebAssetsCompression>and the<StaticWebAssetsBuildMode>line are gone. The original comment said "(.NET 10 SDK bug workaround)" — confirmed bydotnet packworking clean without them.CI workflows
.github/workflows/ci.yml—dotnet-version: 9.0.x→10.0.x,.sln→.slnx.github/workflows/release.yml— same.github/workflows/preview-pages.yml— same +NET9/ShellUI.Preview/**path filter →NET10/ShellUI.Preview/**Docs
docs/PROJECT_STATUS.md— prerequisite.NET 9.0 SDK→.NET 10.0 SDK, demo pathNET9/BlazorInteractiveServer→NET10/, "Key Decision feat: restructured components and added a few more #4" rewritten to explain why .NET 10 single-target instead of multi-targetdocs/ARCHITECTURE.md—NET9/→NET10/docs/tailwind-setup.md—.NET 9.0 SDK→.NET 10.0 SDKVerification
dotnet restore ShellUI.slnx— clean, all packages resolved on .NET 10dotnet build ShellUI.slnx -c Release— clean (0 errors, 0 warnings), packages emitted as0.4.0-alpha.1.nupkgdotnet test ShellUI.Tests— 51/51 unit tests passing onnet10.0(skipping the 2 slow CLI integration tests that need scaffolded projects — those will run in the CI smoke step)dotnet pack src/ShellUI.Componentswithout the workaround — clean pack succeeds; confirms .NET 10 SDK fixed the bugTest plan
shellui init+shellui add chart pie-chart dashboard-02 data-table+dotnet buildon a realdotnet new blazortemplate)dotnet new blazor(which now generates a .NET 10 project) + install the prerelease CLI tool from this branch's pack +shellui init+shellui add— confirm it still works end-to-end against the new templateShellUI.slnxin VS 2022 17.10+ and confirm the solution loads correctlyBlazor-ApexCharts 6.0.2andSystem.Linq.Dynamic.Core 1.7.1work on .NET 10 (they multi-target down tonet6.0/netstandard2.0, so they should be fine via roll-forward — the build success above already proves the resolver picks them up)