jonwagner / EventSourceProxy

EventSourceProxy (ESP) is the easiest way to add scalable Event Tracing for Windows (ETW) logging to your .NET program
Other
97 stars 20 forks source link

How to get the manifest? #41

Closed alphaleonis closed 9 years ago

alphaleonis commented 9 years ago

Maybe I'm missing something here, but I've been using the NuGet package of the EventSource to have a manifest automatically generated at build time, since I need this installed with my product. Using the EventSourceProxy would definitely simplify writing and maintaining the EventSource classes, but how can I get the manifest generation to work?

If I create an abstract class, with abstract event methods and decorate them with the EventAttribute to specify channels, opcodes, tasks and keywords, I get a build error saying that an abstract class cannot have event methods.

So how can I get around this? Is there any way to have the manifest generated from the class that EventSourceProxy generates?

jonwagner commented 9 years ago

https://github.com/jonwagner/EventSourceProxy/wiki/Getting-the-EventSource-Manifest-or-GUID

way ahead of you