Visual Studio 15.8.1 not running MS unit tests

前端 未结 11 2094
清酒与你
清酒与你 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条回答
  •  别跟我提以往
    2021-01-31 08:34

    For me I felt very foolish after spending hours, trying EVERYTHING, only to find that I had simply forgotten to add the [TestMethod] directive on the unit test method.

提交回复
热议问题