Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

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

Open
AraHaan opened this issue Apr 29, 2020 · 2 comments
Open

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

AraHaan opened this issue Apr 29, 2020 · 2 comments

Comments

@AraHaan
Copy link

AraHaan commented Apr 29, 2020

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
Copy link
Member

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

@bradwilson
Copy link
Member

bradwilson commented Apr 29, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants