No test found since upgrade to Nunit 4.3.2 and Adapter 5.0 #1278
-
Hello, I upgraded to version 4.3.2 of NUnit and 5.0 of NUnitAdapter. When I build my .net8 project through my TFS pipeline, I get the following error: "No test found. Make sure that installed test discoverers & executors, platform & framework version settings are appropriate and try again", even though everything works fine when I run dotnet test locally in my Visual Studio. Any idea? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I would suggest upgrading Microsoft.NET.Test.Sdk. .NET 8 requires a recent version. |
Beta Was this translation helpful? Give feedback.
-
It seems that the issue comes from the fact that my .NET 8 project targets net8.0-windows10.0.18362.0, while my TFS server is running on 2019. |
Beta Was this translation helpful? Give feedback.
It seems that the issue comes from the fact that my .NET 8 project targets net8.0-windows10.0.18362.0, while my TFS server is running on 2019.
I added
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
to the .csproj file of my test project, which seems to have resolved the issue.