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

Thanks: 2 times
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,434

Thanks: 1009 times
Was thanked: 1355 time(s) in 1258 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.
1 user thanked Remco for this useful post.
acm23 on 11/7/2025(UTC)
Remco
#3 Posted : Friday, November 7, 2025 11:15:23 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 1009 times
Was thanked: 1355 time(s) in 1258 post(s)
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.
1 user thanked Remco for this useful post.
acm23 on 11/8/2025(UTC)
Remco
#4 Posted : Wednesday, November 12, 2025 3:11:14 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 1009 times
Was thanked: 1355 time(s) in 1258 post(s)
v5.20 is now available including the fix to implement support for xunit v3.2.
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.031 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download