Visual Studio 15.8.1 not running MS unit tests

前端 未结 11 2023
清酒与你
清酒与你 2021-01-31 07:53

When I updated Visual Studio to the latest version, 1 of my test projects stopped running tests and outputted this message:

Test project {} does not reference any .NET N

11条回答
  •  萌比男神i
    2021-01-31 08:14

    If you are using MS Test, try installing

    MSTest.TestAdapter via nuget or

    if you are using nunit, install

    NUnit3TestAdapterlatest versions via nuget.

    After installing please restart the visual studio and then you can see the tests running.

提交回复
热议问题