While upgrading to latest versions I experienced a problem with the latest xUnit v3 version.
(I am using the latest NCrunch version with VS2022, if it matters)
To reproduce, just create a new Console Application. add a xunit.v3 as dependency and replace the Program.cs with an example test.
When I run this, I get the test results.
After enabling NCrunch I get an error while building:
Code:
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\myuser\.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.
PS.: After downgrading to xunit v3 3.1.0 it works. So there is definitly a change breaking NCrunch in this latest release