Handle netstandard1.6 with xUnit

前端 未结 5 1768
轮回少年
轮回少年 2021-01-18 07:29

I am looking to use a test framework for a netstandard1.6 library. I tried to follow and edit Getting started with xUnit.net (.NET Core / ASP.NET Core) without success. Foll

5条回答
  •  醉梦人生
    2021-01-18 08:09

    1. Check the available versions for the xunit dependency. I think the 2.2.0 is already final.

    2. A xunit project needs to be netcoreapp1.0 and not netstandard.

    See their web page for details.

提交回复
热议问题