No problem, have a look at this guide. One good place to start regarding the test project might be:
dotnet build followed by dotnet test
dotnet test
does a full build before running the tests. So if your pipeline executesdotnet build
and thendotnet test
, the build will be done twice, thus the analysis will be done twice.
Solution : rundotnet test --no-build
, reusing the binaries from the build.
Hope that helps
Tom