Add .NET 10.0 target framework support #855
Merged
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.
Adds net10.0 TFM across the repository. Updates global.json SDK version, adds net10.0 to library multi-targeting, makes it the primary TFM for sample apps, and configures GitHub Actions to test on net10.0.
Changes
Core libraries - Added net10.0 to multi-target frameworks:
Fluid.csproj:netstandard2.0;net8.0;net9.0;net10.0Fluid.ViewEngine.csproj:netstandard2.0;net8.0;net9.0;net10.0Fluid.MvcViewEngine.csproj:net8.0;net9.0;net10.0(includes ASP.NET Core 10.0.0 FrameworkReference)MinimalApis.LiquidViews.csproj:net8.0;net9.0;net10.0Test project - Added net10.0:
Fluid.Tests.csproj: Tests now run onnet8.0;net9.0;net10.0Sample apps & benchmarks - Changed from net9.0 to net10.0:
Fluid.MinimalApisSample.csprojFluid.MvcSample.csprojFluid.Benchmarks.csprojBuild configuration:
global.json: SDK version9.0.100→10.0.10010.0.xto dotnet-version matrixNote: .NET 10.0 SDK not yet released; changes follow established TFM conventions.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.