XUnit with netcoreapp1.1.1

My test project is using following:

<TargetFramework>netcoreapp1.1.1</TargetFramework>

<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="TestStack.BDDfy" Version="4.3.2" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.extensibility.execution" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />

 

Trying to run tests from Resharper test runner and getting exception: "unknown test framework: could not find xunit.dll (v1) or xunit.execution.*.dll (v2)"

The output folder doesn't have neither of these libs indeed. But the VS test runner is working fine. How can i fix this? 

0
2 comments

Hello Fedor!

 

Thank you for contacting us.

Could you please try to install the latest ReSharper 2017.2 EAP version - https://www.jetbrains.com/resharper/eap/ and check if the issue is still reproduced?

Thank you.

0
Avatar
Permanently deleted user

Hi,

I fixed it, not sure what it was, i think something to do with the imports in csproj files.

Thanks

0

Please sign in to leave a comment.