Table of Contents

Visual Studio adapter 4.0.0-pre.4 2026 April 11

Today, we're shipping three new prereleases:

  • xUnit.net Core Framework v3 4.0.0-pre.81 (release notes)
  • xUnit.net Analyzers 2.0.0-pre.40 (release notes)
  • xUnit.net Visual Studio adapter 4.0.0-pre.4

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 comprehensive list of changes from 4.0.0-pre.3 to 4.0.0-pre.4.

Features and Fixes

  • BUG: We fixed an issue where ordering of messages was incorrect during shutdown when a foreground thread was left running. While this was previously fixed the native UX, MTP UX, and dotnet test in MTP mode in 3.2.2, this update now also fixes the issue in that package for users using dotnet test in VSTest mode. Note that the issue where test assemblies appear to be pass in this scenario in Test Explorer appears at this point to be unfixable, but at least any command line builds (like CI builds) should fail appropriately. xunit/xunit#3452