I am trying to run a build with tests using the .runsettings file in VS 2017 and I want to exclude all the .dll files that have 'test' in their name I looked up some MSDN tutorials but I didn't find them useful. I was trying to do something like this. But it just fails the tests instead of actually excluding them
<exclude>
<objectSet>
<pattern type="File"> C:\* [test.dll] </pattern>
<pattern type="File"> C:\* [tests.dll] </pattern>
</objectSet>
</exclude>