Skip to content

Profiling API Not Built Correctly #37929

@nealall123

Description

@nealall123

Hi,

I'm following the instructions here to write and build my own profiler and it worked fine at the existence of visual studio. However, when we tried to run this profiler in another computer without VS installed, it's not working any more and gave us this error.

.NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{cf0d821e-299b-5307-a3d8-b283c03916dd}'. HRESULT: 0x8007007e. Process ID (decimal): 2544. Message ID: [0x2504].

When we installed VS on, the profiler's working again. I'm new to Profiling API and not sure if we built it correctly against CoreClr repo and can someone please tell me if this is case or there is something wrong with our profiler? Does VS introduce some SDK or runtime that we're missing?

Thank you

Metadata

Metadata

Assignees

Labels

area-Diagnostics-coreclrquestionAnswer questions and provide assistance, not an issue with source code or documentation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions