Skip to content

CSHARP-5974: Add tests for .NET 11 (backport to v3.x) - #2215

Merged
BorisDog merged 3 commits into
mongodb:v3.xfrom
BorisDog:csharp5974-v3.x
Nov 26, 2026
Merged

BorisDog merged 3 commits into
mongodb:v3.xfrom
BorisDog:csharp5974-v3.x

Conversation

@BorisDog

Copy link
Copy Markdown
Contributor

Backport of #2201 to v3.x.

Backport of mongodb#2201 to v3.x.

- Add net11.0 to the test projects' target frameworks, the smoke tests, and the Evergreen unit/smoke test tasks and variants.
- Install the .NET 11 SDK on Evergreen (force .zip on Windows, since the .NET 11 installer otherwise prefers .tar.gz and trips over GNU tar).
- Disambiguate SrvRecord/TxtRecord from the new System.Net types in the DNS tests.
- Adjust the test helper and tests affected by .NET 11 (XUnitLogger, EventLoggerTests, decimal tests).

v3.x differs from main in that it has no net8.0 test target and TargetFramework.Moniker stays "net60" for all modern targets, so TargetFrameworkTests and RequirePlatform need no changes here.
@BorisDog
BorisDog requested a review from a team as a code owner November 26, 2026 00:37
@BorisDog
BorisDog requested review from a team, ajcvickers and sanych-sun and removed request for a team and ajcvickers November 26, 2026 00:37
@BorisDog BorisDog added the chore Non–user-facing code changes (tests, build scripts, etc.). label Nov 26, 2026

@sanych-sun sanych-sun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BorisDog
BorisDog merged commit 8e1335c into mongodb:v3.x Nov 26, 2026
34 of 35 checks passed
@BorisDog
BorisDog deleted the csharp5974-v3.x branch November 26, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Non–user-facing code changes (tests, build scripts, etc.).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants