Do make sure that you haven't written your unit tests in a .NET Standard 2.0 Class Library. The visualstudio runner does not support running tests in netstandard2.0 class libraries at the time of this writing.
Check here for the Test Runner Compatibility matrix:
https://xunit.github.io/#runners