I'd like to ask a very specific question about writing to the event viewer using the System.Diagnostics.Tracing.EventSource and .NET 4.6 class.
In the past, if you wanted to use the event viewer channels you needed to write/generate an XML manifest and register it with the operating system. Is this still the case?
If so I'm struggling to find out how to get the build to generate the manifest, I belive this is possible with the EventSource nuget package, but I'd like to use the in built class under the System.Diagnostics.Tracing namespace if possible.
Thanks in advance.
Take a look at the Microsoft EventRegister Tool package on NuGet:
Install it via Package Management console in VS:
This registers your Eventsource classes, so that you can write to Eventlog: