Release Notes: July 20, 2023

xUnit.net v2 2.5.1 Pre-Release (build 11)

This is co-released with xunit.analyzers version 1.3.0-pre.6 and xunit.runner.visualstudio version 2.5.1-pre.4.

The 2.5.1 release will be primarily focused on fixing issues introduced with the newly overhauled assertion library, as well as integrating in any other bug fixes along the way that we've discovered.

Users have reported sporadic problems restoring the version 2.5.0 NuGet packages. This is a result of .NET Foundation's code signing system changing the default time stamp server from DigiCert to Microsoft, which is not supported on .NET SDK 6.0.3xx (which is associated with Visual Studio 2022 LTS release 17.2). Users who were trying to stick with purely LTS builds of tools experienced NU3003 ("The package signature is invalid or cannot be verified on this platform."). We have manually reverted back to the DigiCert time stamp service, which will allow users relying on LTS tooling to be able to restore our packages again.

At this point in time, it is unclear whether this will be fixable for .NET SDK 6.0.3xx or not (and whether the proposed fix in this issue will actually work on all OSes or just Windows). Regardless of whether this change is applied or not, it is our intention to permanently stick with the DigiCert time stamp service because it provides maximum compatibility with currently shipping versions of the SDK.

Assertion library

Extensibility

Copyright © .NET Foundation. Contributions welcomed at https://github.com/xunit/xunit/tree/gh-pages.