Profiler Failing to Load
I am having an issue on a Windows 7 machine where it is not returning results. My project and the sample project fails with: No results - no assemblies that matched the supplied filter were instrumented this could be due to missing PDBs for the assemblies that match the filter please review the output file and refer to the Usage guide (Usage.rtf)
In the event viewer: .NET Runtime version 4.0.30319.18047 - Loading profiler failed. The profiler COM object was instantiated, but the profiler failed during its initialization callback. Profiler CLSID: '{1542C21D-80C3-45E6-A56C-A9C1E4BEB7B8}'. HRESULT: 0x80004005. Process ID (decimal): 8280. Message ID: [0x2505].
This is a Windows 7 64 bit machine, with Visual Studio 2008, 2010 and 2012 on it. I have tried manually registering the profiler as well as the -register:user switch.
Are you using a console with/without Admin permissions?
If you have access to debugview then that may give a reason as to why it is failing to load.
The reason is probably going to be something specific to you environment unfortunately so this may take time to resolve but lets see what we can do. You may need to reinstall the .NET Framework as that has worked in the past for me on the one machine I have seen it on.
Console w/admin, UAC disabled, I am an admin on machine. Error is: ::Initialize => Failed to initialise the profiler communications -> GetLastError() => 2
Attached a screenshot from DebugView too, tried 32 and 64 bit.

I may need to make a debug version of the profiler DLL that will gather more diagnostics around that area would you be willing to run it should I send it to you?
Absolutely
I think the issue maybe mutex related (based on the log and viewing possible debug output) but I am unsure why you are having that issue.
I've put my debug build here https://dl.dropboxusercontent.com/u/16543630/OpenCover/issue165/Debug.zip
You can use opencover from this folderor you can use the dogfood tests and view the results in debugview.
Not sure if you interested in investigating this further or if you have resolved the issue yourself?
Sorry it slipped my mind. I have not resolved it but I ran the debug version this morning using the same sample64.cmd and it succeeded. Is the above the identical code for 4.5.1604?
It is around the area of "issue" other than some extra diagnostics to work out which synchronisation object failed. Curious...
I am going to assume this issue is now closed unless I hear otherwise.