title: Code coverage issues after migrating from VS2010 to VS2013
body: <p>Recently I migrated all my C# projects from VS2010 to VS2013. There were barely any code changes required but immediately after I checked in the projects, I noticed that CI started failing. On checking the issue, I realized that the coverage file generated after running unit tests was not being generated in the location specified in the <code>.testsettings</code> file. In the Test Results Names section of Test Settings in VS2010, I configured a user defined naming scheme and unchecked the Append date-time stamp checkbox. This would generate the coverage file in \\data.coverage. After migrating to VS2013, the coverage file is getting generated in a Test Settings folder which believe is the default location when the Default naming scheme is chosen.</p>
  
  <p>On researching a bit, I found an <a href="http://msdn.microsoft.com/en-us/library/jj635153.aspx" rel="nofollow">MSDN post</a> and a few other blogs posts suggesting doing away with the <code>.testsettings</code> file and adopting the new <code>.runsettings</code> file. The weird thing is Microsoft is recommending usage of the .runsettings file but don't seem to deliver a default one which I can build upon. In any case, I did create one based on the sample provided on the same MSDN post. It did work for me as far as creation of the coverage file is concerned but I again faced the same problem that it is getting generated in a Test Results folder. The bigger problem is that a sub-folder with some GUID type name is created into which the coverage file is dumped and it changes every time a test is run with code coverage ON.</p>
  
  <p>I wonder if there's a way make my VS2010 settings work as expected in VS2013 or using the <code>.runsettings</code> file, can I provide the complete path where the coverage file should be created?</p>