Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

xunit.v3 3.2.0 kills ncrunch build
acm23
#1 Posted : Thursday, November 6, 2025 4:41:31 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/6/2025(UTC)
Posts: 1
Location: Denmark

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
#2 Posted : Thursday, November 6, 2025 10:08:56 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,409

Thanks: 1004 times
Was thanked: 1346 time(s) in 1249 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download