• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AKlaus / DomainResult / 44881277376
87%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2026 07:41AM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Nov 2026 07:39AM UTC coverage: 87.554%. Remained the same
44881277376

push

github

web-flow
Mvc: Target .NET 11 and drop .NET 7 (#117)

### Why

.NET 11 shipped on 10 November 2026, and .NET 7 reached end of support in May 2024. The `DomainResult` package still targeted `net7.0`, and `net7.0` pinned old versions of four build and test packages.

### What changed

- **Mvc** — `DomainResult` targets `net8.0`, `net9.0`, `net10.0` and `net11.0`
- **Build** — SourceLink, MinVer and test packages lose their `net7.0` conditions and old versions
- **Package validation** — `CompatibilitySuppressions.xml` records the dropped `net7.0` (`PKV006`), and loses its 10 `net7.0` entries
- **Tests** — the `ProblemDetails` type check loses its branch for frameworks before .NET 8
- **CI** — both workflows install SDKs `8.x` to `11.x`. CI tests each target, with coverage on `net11.0`
- **README** — the target list names .NET 8 to .NET 11

### Changes at a glance

| Change | Added | Changed | Removed |
|---|---|---|---|
| Package dependencies | 2 |  | 4 |
| CI workflows |  | 2 |  |

**Areas**: `.github`, `src`, `tests`

**Projects and dependencies**

- `Microsoft.SourceLink.GitHub` 8.0.0 and `MinVer` 6.1.0 now apply to every target. The `net7.0`-only 1.1.1 and 4.2.0 references are gone.
- In the test project, `Microsoft.NET.Test.Sdk` 18.0.1 and `xunit.runner.visualstudio` 3.1.5 now apply to every target. The `net7.0`-only 17.8.0 and 2.5.6 references are gone.

**Public API** (not seen by `scope`)

- Added the `net11.0` target to `DomainResult`
- Removed the `net7.0` target from `DomainResult`

> **Breaking**: a project on .NET 7 cannot install new versions of `DomainResult`. `DomainResult.Common` still targets `netstandard2.1`, so it does not change.

### Notes

- The samples stay on `net10.0`, because the issue does not ask to move them.
- The C# 15 ideas in the issue, union types and closed enums, are for later PRs.

### How to verify

Run package validation against v3.4.0. Delete `src/Mvc/obj/Release/Microsoft.NET.ApiCompat.ValidatePackage.semaphore` first, or ... (continued)

92 of 109 branches covered (84.4%)

Branch coverage included in aggregate %.

316 of 357 relevant lines covered (88.52%)

21.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 44881277376.1 21 Nov 2026 07:41AM UTC 22
87.55
GitHub Action Run
Source Files on build 44881277376
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44881277376
  • 65cdb612 on github
  • Prev Build on master (#44874615559)
  • Next Build on master (#44979753245)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc