Description
Is your feature request related to a problem? Please describe.
I'm working on a project where ETW logging schemas are defined in manifest files (.man
files with <instrumentationManifest>
XML content) as described in Writing an Instrumentation Manifest. These manifests are already used for logging from C++ applications and we want to also use them for logging from .Net apps on Windows.
The message compiler mc.exe
already ha a -cs <namespace>
argument for generating .Net framework C# classes based on EventProvider to ease logging. This works fine if targeting .Net framework. However, the generated code fails to compile if targeting .Net (core), since the EventProvider
class is then missing.
Describe the solution you'd like
Can you either port the EventProvider
class to .Net (core) or provide an alternative mechanism for consuming instrumentation manifest .man
files in .Net projects?