xunit / devices.xunit

xUnit.net Runners for Devices
Other
73 stars 35 forks source link

VS runner does not resolve on netstandard2.0 targets. #141

Open AraHaan opened 4 years ago

AraHaan commented 4 years ago

It seems all the other nuget packages except for the VS one to integrate with Visual Studio one resolves for netstandard2.0 though,

While all but the regular Xunit package resolves for net40 target in sdk style projects, both frameworks I got to test on as well.

image image

And the xunit package is not resolving because: image

Edit: Crap just realized I placed this in the wrong repository.

bradwilson commented 4 years ago

Writing tests in netstandard is not supported. https://xunit.net/docs/why-no-netstandard

bradwilson commented 4 years ago

The minimum supported version of .NET Framework is 4.5.2 (for xUnit.net v2).

If your tests must be written in .NET 4.0 then you can use xUnit.net 1.x, but it is several years old and no long developed or supported.