upgrading a working project from xunit.v3 3.1.0 to 3.2.0 immediately stops NCrunch from being able to build projects with the following error:
An error occurred while analysing this project after it was built: Unable to resolve an assembly required for the execution of Xunit3 on this machine. The assembly was expected at the following path: C:\Users\<username>\.nuget\packages\xunit.v3.core\3.2.0\_content\runners\netcore\xunit.v3.runner.utility.netcore.dll
Please ensure the package containing this assembly is installed on your machine. If you introduce an assembly reference directly to this binary in your test project, NCrunch will resolve it directly using your specified path.
Build and test still works with both Visual Studio and the dotnet cli.
Using latest version of NCrunch (5.19.0.5) together with Visual Studio 2026 Insiders (Insiders [11201.2])
Remco NCrunch Developer
#18453
06 Nov 2025 22:08 UTC
Hi, thanks for sharing this.
This is a known problem at the moment. Xunit 3.2 has a breaking change for us. A fix will be coming in NCrunch v5.20. For now, I recommend staying on Xunit v3.1.
This is a known problem at the moment. Xunit 3.2 has a breaking change for us. A fix will be coming in NCrunch v5.20. For now, I recommend staying on Xunit v3.1.
Remco NCrunch Developer
#18455
07 Nov 2025 23:15 UTC
A fix will be out for this in NCrunch v5.20, which I'm aiming to release with Rider 2025.3, which I'm hoping will be in the coming week.
Remco NCrunch Developer
#18458
12 Nov 2025 03:11 UTC
v5.20 is now available including the fix to implement support for xunit v3.2.
Post a reply
Log in to reply.