Repository navigation
Add .NET 11 sample and target tests for net10/net11 - #183
Merged
Merged
Conversation
- Add samples/Sample.Api.Net11 on net11.0, mirroring Sample.Api.Net10. - Remove samples/Sample.Api.Net90 and the net9.0 test target. - Reference Microsoft.AspNetCore.Mvc.Testing 11.0.0 and the Net11 sample from the four sample API test projects. - Update the solution and docs to net10.0/net11.0. - Install the .NET 11 SDK in AppVeyor: the VS2026 image still ships only the .NET 10 SDK.
Migrate FluentAssertions.Web.sln to the XML-based FluentAssertions.Web.slnx using dotnet sln migrate, remove the legacy .sln, and update the build command in CONVENTIONS.md. Verified that bare dotnet restore, dotnet build and dotnet test detect the .slnx and that the full suite still passes.
This was referenced Nov 16, 2026
This was referenced Nov 24, 2026
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.
Adds a .NET 11 sample API, moves the sample test matrix from
net9.0;net10.0tonet10.0;net11.0, and migrates the solution to the new.slnxformat.Changes
samples/Sample.Api.Net11(net11.0), mirroringSample.Api.Net10and sharingSample.Api.Shared.projitems.samples/Sample.Api.Net90and everynet9.0solution/project reference.Microsoft.AspNetCore.Mvc.Testing11.0.0andSample.Api.Net11fornet11.0;net10.0support is unchanged.FluentAssertions.Web.slnis replaced byFluentAssertions.Web.slnx(generated withdotnet sln migrate), preserving all 29 projects and solution folders. No unrelated x64/x86 configuration churn.CONVENTIONS.mdand theCallerArgumentExpressionAttributecomment now saynet10.0/net11.0; the build command references.slnx.dotnet-install.ps1, because the VS2026 image still ships only the .NET 10 SDK (verified against AppVeyor's published image software list).Verification
dotnet build FluentAssertions.Web.slnx -c Release→ 0 errors.dotnet restore/dotnet build/dotnet testauto-detect the.slnx.dotnet testonnet10.0+net11.0→ all projects pass, including all four sample flavours, FluentAssertions, FluentAssertions.v8, AwesomeAssertions, Shouldly, Assertions.Web, formatter and serializer suites.