title: Code coverage does not work on TFS 2010 build server
body: <p>We've got a TFS 2010 set-up with a dedicated build server. The build for my solution generating the problems runs fine and it also correctly runs all the associated unit tests. The problem, however, is that there is no code coverage shown (locally it works). I did double check the following things:</p>
  
  <ul>
  <li>The build definition being used has "Analyze Test Impact" set to "true"</li>
  <li>The TestSettings File referenced under Automated Tests/Test Assembly is "Local.testsettings"</li>
  <li>The "Local.testsettings" file has "Code Coverage" (under Data and Diagnostics) enabled and ...</li>
  <li>... "Instrument assemblies in place" is also configured with a re-signing key file (.snk)</li>
  <li>I also tried changing the path to the key file to a UNC path on the build server as I wasn't sure whether it'd be available from there</li>
  </ul>
  
  <p>Despite all the steps above I cannot get the code coverage working for builds on our TFS. The "Summary" shows that all tests were successfully run, and the next line reads "No Code Coverage Results". The log file generated for the build itself does not even show the word "coverage" anywhere, and I don't understand why I don't at least get an error message to work with.</p>
  
  <p>I've read in some other posts that an installation of at least VS2010 Premium is required ot be installed <em>on the build server</em>, but I've also read that failing to do so would result in an appropriate error message, so I expect that this is not the cause for my problems.</p>
  
  <p>Any ideas or pointers in the right direction are greatly appreciated, thanks in advance</p>
  
  <p>G.</p>