Getting started with Fakes using Visual Studio

These are a good set of references to anyone looking into getting started with fakes


Empty .coverage file with profiler related errors in the event logs

​If you find yourself with a an empty .coverage file and see errors similar to the below in your event logs you most probably have a corrupt install (info) .NET Runtime version 4.0.30319.17929 – The profiler has requested that the CLR instance not load the profiler into this process. Profiler CLSID: ‘{b19f184a-cc62-4137-9a6f-af0f91730165}’. Process ID (decimal):…


Troubleshooting missing data in Code Coverage Results

Code Coverage tool in Visual Studio 11 instruments native and managed binaries (DLLs/EXEs) whenever they are loaded at runtime, if they meet some criteria. The code coverage information is collected for these binaries At the end of the Code Coverage run you see code coverage within the Code Coverage results window. The total code coverage as…