Analyzers 2.0.0-pre.56 2026 May 31
Today, we're shipping two new prereleases:
- xUnit.net Core Framework v3
4.0.0-pre.128(release notes) - xUnit.net Analyzers
2.0.0-pre.56
This is the fourth prerelease build for the 2.0 release.
Note
We have removed support for Visual Studio 2019. Our new minimum supported version of Roslyn is 4.11, which will support Visual Studio 2022 17.11 (and later) as well as .NET SDK 8.0.400 (and later), both released in August 2024. Earlier versions of Visual Studio or .NET SDK will not be supported.
As always, we'd like to thank all the users who contributed to the success of xUnit.net through usage, feedback, and code. 🎉
Release Notes
These release notes are a list of changes from 2.0.0-pre.51 to 2.0.0-pre.56.
Usage Analyzers
We have disabled xUnit1008 in Native AOT, since there is no singular tests for what a test method is defined as when using xUnit.net extensions (like custom
Theory-style attributes).BUG: We have fixed an issue with xUnit1010 where it was improperly skipping invalid attribute parameters, causing it to potentially report incorrect issues for later parameters (even when they were correct). xunit/xunit#3569
Assertion Analyzers
- BUG: We have fixed an issue with xUnit2006 where it was not accounting for the fact that
Assert.StrictEqualhas a different signature in Native AOT.