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])
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
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.NETThis page was generated in 0.031 seconds.