title: Problems with travis for C#
body: <p>Travis CI <a href="http://docs.travis-ci.com/user/languages/csharp/" rel="nofollow">now supports C#</a> (in beta). 
  After try 8 different methods, I can't find a solution to my problem.</p>
  
  <p>I have an ASP MVC project, travis use mono and I know that I can't build in travis this kind of project</p>
  
  <pre><code>script:
      - xbuild project.sln
  </code></pre>
  
  <p>Ok no problem with this but I want to pass my tests, the best solution that I find is:</p>
  
  <pre><code>language: csharp
  solution: OptionType.sln
  install:
    - sudo apt-get install mono-devel mono-gmcs nunit-console
  script:
    - nunit-console MSPSpain.Tests/bin/Debug/MSPSpain.Tests.dll 
  </code></pre>
  
  <p>but failed.. <a href="https://travis-ci.org/MSPSpain/Website/builds/43711017" rel="nofollow">https://travis-ci.org/MSPSpain/Website/builds/43711017</a></p>
  
  <pre><code>936ProcessModel: Default    DomainUsage: Single
  
  937Execution Runtime: mono-4.0
  
  938Missing method .ctor in     assembly /home/travis/build/MSPSpain/Website/MSPSpain.Tests/bin/Debug/MSPSpain.Tests.dll, type     Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute
  
  939Can't find custom attr constructor     image: /home/travis/build/MSPSpain/Website/MSPSpain.Tests/bin/Debug/MSPSpain.Tests.dll mtoken:     0x0a000011
  
  940Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework,     Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
  
  941
  
  942The command "nunit-console MSPSpain.Tests/bin/Debug/MSPSpain.Tests.dll" exited with 254.
  </code></pre>
  
  <p>I searched a lot about this and I can't find the best solution to my problem.</p>