Skip to content

Upgrading Microsoft.NET.Test.Sdk 17 to 18

Breaking17.14.1 → 18.11.0Breaking6Security1Deprecated1New9Changed32Fixed41Other147

BreakingUpgrade verdict

6 breaking changes and a security fix.

  • Removes tpv0.
  • The MSTest.Assert.Extensions package is no longer provided.
  • Removes fakes v1 from FakesUtilities.
  • Tests that target .NET Framework can no longer run on non-Windows systems through a Mono fallback; they must run on Windows.
Top 5 of 8 that need code or config changes

Target frameworks requirement changed in 18.9.0: .NETFramework4.6.2, native0.0, net8.0 → .NETFramework4.6.2, net8.0.

Breaking6
Removes tpv0.
tpv0
Removes MSTest.Assert.Extensions.
MSTest.Assert.Extensions
Removes fakes v1 from FakesUtilities.
FakesUtilities
Drops the Mono fallback and runs .NET Framework tests on Windows only.
Removes the experimental test session feature.
Removes CUIT (Coded UI Test) from NuGet packages and test projects.
Security1
Restricts artifact temp directory permissions on Unix.
Deprecated1
Deprecates EnableShutdownAfterTestRun, which is a no-op.
EnableShutdownAfterTestRun