Skip to content

NetArchTest.Rules sample: retarget to net10.0 - #2087

Merged
CodeMazeBlog merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/109747-netarchtest-rules
Aug 13, 2026
Merged

NetArchTest.Rules sample: retarget to net10.0#2087
CodeMazeBlog merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/109747-netarchtest-rules

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Retargets the ArchitectureTestsWithNetArchTest sample (article 109747) from net8.0 to net10.0. Bumps Microsoft.AspNetCore.Mvc.Testing 8.0.2 -> 10.0.10 in Api.Tests (the net8-era TestHost package throws on net10 System.Text.Json PipeWriter.UnflushedBytes contract, causing 500s on all Api.Tests integration tests under TestServer even though the app runs fine standalone). Build 0 errors, 11/11 tests pass (6 Architecture.Tests + 5 Api.Tests).

Bump all csproj TargetFramework net8.0 -> net10.0; bump
Microsoft.AspNetCore.Mvc.Testing 8.0.2 -> 10.0.10 (net8 TestHost
package throws on net10's PipeWriter.UnflushedBytes contract).
Build 0 errors, 11/11 tests pass.
@CodeMazeBlog
CodeMazeBlog merged commit 3dfb71b into CodeMazeBlog:main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants