title: Why is the xUnit Runner not finding my tests
body: <p>I have a xUnit.net Test as follows:</p>
  
  <pre class="lang-cs prettyprint-override"><code>static class MyTestClass
  {
      [Fact]
      static void MyTestMethod() 
      {
      }
  }
  </code></pre>
  
  <p>The xUnit plugin for VS 2012 says:</p>
  
  <blockquote>
    <p>No tests found to run.</p>
  </blockquote>
  
  <p>TestDriven.net runs it fine <a href="http://www.testdriven.net/quickstart.aspx#Ad%20Hoc%20Tests" rel="noreferrer">but mentions something about Ad hoc</a>:</p>
  
  <blockquote>
    <p>1 passed, 0 failed, 0 skipped (see 'Task List'), took 0.47 seconds (Ad hoc)</p>
  </blockquote>
  
  <p>TeamCity, <code>xunit.gui.exe</code> and <code>xunit.console.exe</code> and Visual Studio also can't find <code>TestMethod</code></p>
  
  <p>(I've got <code>xunit.runner.visualstudio</code> installed and VS is seeing some tests.)</p>
  
  <p>What gives?</p>