Q:

How can I ignore test projects in the build?

I have some integration tests that I don't want to be run by the .NET Core Test command in Azure DevOps. How can I filter them out?
I tried setting a specific project to test with the Parameters.TestProjects variable but it had no effect.

A:

If I got your question correctly then the answer is:
Add "!" mark before the test assembly, like this:
**\*integrationtests.dll
!**\*TestAdapter.dll
!**\obj\**

So the integrationtests.dll will be included and the other 2 lines are excluded.

