NUnit -- Test discovery or execution might not work for this project

[7/31/2019 2:06:58.100 PM Warning] No test matches the given testcase filter `FullyQualifiedName=SilverFishTest.ChuckTest.CardIdEnumTest` in C: epositoryGitHubChuckLuTestHearthbuddyReleaseRoutinesDefaultRoutineSilverFishTestinDebugSilverFishTest.dll
[7/31/2019 2:06:58.447 PM Informational] Test project SilverFishTest does not reference any .NET NuGet adapter. Test discovery or execution might not work for this project.
It's recommended to reference NuGet test adapters in each test project in the solution.

https://github.com/nunit/nunit/issues/3334

The problem could be resolved by reference the following package.

<package id="NUnit3TestAdapter" version="3.13.0" targetFramework="net48" />

But I am wondering why I did not need the above package in the past.

原文地址:https://www.cnblogs.com/chucklu/p/11275925.html