Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Build bug: 'ICorProfilerCallback8': base class undefined #13

Description

@eli-fin

I cloned the repo and couldn't compile. The first error was the title (and another million followed, as is usually the case with these errors).

Now 'ICorProfilerCallback8' is only available in .net v4.7+, but for some reason, although I have .net v4.7+ installed, it can't find that base class.
The reason turned out to be that the project was including the profiling api headers of .net 4.6.1, because in my vs2017 cmd prompt, the environment variable 'NETFXSDKDir' was set to 'C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1'.
(this may be related to the following bug, but I'm not sure)

Anyway, for me, opening vs2017 dev cmd and running:
set NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.7\
and compiling from there, fixed that.

It might be a good idea to add this to the build instructions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions