I have a C# unit test project targeting .NET 3.5 in Visual Studio 2013.
When i try to profile it (Unit Test Explorer | Profile Unit Tests -> Sampling -> Run) an error box pops up, saying: "Failed to verify x64 COM object registration: Empty path to COM object. Do you want to continue anyway?" Clicking yes results in a never ending test run, leaving the tests in pending state.
Running mstest as standalone application from the dotTrace application or from consoleprofiler.exe results in the same error message.
Profiling via ".NET process" and starting mstest from command line works but is not an option, as it needs retargeting the test project to .NET 4.0+ to use the /noisolation switch.
Please advise how to profile without retargeting, preferrably from within Visual Studio.
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
JetBrains ReSharper Ultimate 2016.2.2 Build 106.0.20160913.91321
JetBrains dotTrace 2016.2.2 Build 106.0.20160913.94302