Can Microsoft.Windows.EventTracing.Processing be used without the Microsoft.Windows.EventTracing.Processing.All package? The description recommends the All package, but is it possible to use Microsoft.Windows.EventTracing.Processing without it?
We do not recommend using Microsoft.Windows.EventTracing.Processing standalone, but it is possible. The .All package includes native Windows Performance Toolkit binaries required to run TraceProcessor, but if you have the right version of WPT already installed somewhere, it is possible to force TraceProcessor to use that version instead.
Note that you'll need to handle picking the right bitness yourself as well as ensuring that it's the correct, supported WPT version, which is why we generally do not recommend this approach. Here's what it would look like:
TraceProcessorSettings settings = new TraceProcessorSettings
{
ToolkitPath = @"X:\path\to\correct\WindowsPerformanceToolkit"
};
using (ITraceProcessor trace = TraceProcessor.Create(tracePath, settings))
{
// ...
}