Skip to content

dot-net-core: Fix build and failing test for .NET 10 - #166

Open
adamnfish-gu wants to merge 1 commit into
platform/tool-versions-cifrom
fix/dot-net-core
Open

dot-net-core: Fix build and failing test for .NET 10#166
adamnfish-gu wants to merge 1 commit into
platform/tool-versions-cifrom
fix/dot-net-core

Conversation

@adamnfish-gu

@adamnfish-gu adamnfish-gu commented Aug 7, 2026

Copy link
Copy Markdown

TargetFramework was netcoreapp10.0. The netcoreappX.Y scheme was retired after 3.1, so .NET 10 needs net10.0. Both csproj files are updated.

TestFunction() returned false while the only test expected true; it now returns true.

Assert.IsTrue is the NUnit 3 classic API, dropped in NUnit 4. Replaced with Assert.That(..., Is.True) so the project compiles against NUnit 4.5.1.


Base platform/tool-versions-ci (#144), so the diff shows only this branch's changes. Merge #144 first.

Part of #143.

TargetFramework was netcoreapp10.0. The netcoreappX.Y scheme was retired
after 3.1, so .NET 10 needs net10.0. Both csproj files are updated.

TestFunction() returned false while the only test expected true; it now
returns true.

Assert.IsTrue is the NUnit 3 classic API, dropped in NUnit 4. Replaced with
Assert.That(..., Is.True) so the project compiles against NUnit 4.5.1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant