title: Visual Studio 2010 Not Recognizing Unit Test
body: <p>In an existing solution I added a new Test Project.  In my Test Project .cs file I have a class decorated with the [TestClass] attribute and a method decorated with the [TestMethod] attribute.  I have verified that in Configuration Manager the build check box is checked for the Test Project (as my google search has revealed was the problem for others with this issue).  I have set Test Project as my start up project for the solution.  When I try to start the test I get "Can not start test project because the project does not contain any tests".  I am really new to unit testing.  What am I missing?</p>
  
  <pre><code>[TestClass]
  public class UnitTest1
  {
      [TestMethod]
      public void TestMethod1()
      {
         Whole bunch of stuff
         Assert.Inconclusive("Done");
      }
   }
  </code></pre>
  
  <p>Update:  So I opened a new instance of VS, went to File => New => Project => Test Project.  Did not touch or edit anything.  Went straight to the cs file and here are its contents in its entirety:</p>
  
  <pre><code>using Microsoft.VisualStudio.TestTools.UnitTesting;
  
  namespace TestProject2
  {
   public class Inspection
   {
      public bool SubmitInsp()
      {
          return true;
      }
   }
  
   [TestClass]
   public class UnitTest1
   {
      [TestMethod]
      public void TestMethod1()
      {
          Inspection insp = new Inspection();
          bool result = insp.SubmitInsp();
  
          Assert.IsTrue(result);
      }
   }
  }
  </code></pre>
  
  <p>Same error about the project not containing any test when I try to start it. Also found this in the build output "Could not load file or assembly '~\my documents\visual studio 2010\Projects\TestProject2\bin\Debug\TestProject2.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)"</p>
  
  <p>I don't know that units tests get much simpler than this.  What the heck???</p>