I will show below hot to enable Code Coverage in Visual Studio 2010, how to view the results and also how to avoid a strange pitfall that I myself fell into. Just spent the better part of an hour trying to figure out how to get the code coverage results in Visual Studio 2010. Eventually I found out that there was no problem at all. The issue was that I had edited one set of test settings and ran my tests on another set of test settings. Update: I solved this issue and the reason for there being...