I'm trying to process SQL XEvents from an .xel file in a c# console app. According to This Blog I need to add a reference to Microsoft.SqlServer.XEvent.Linq.dll but I haven't been able to find it. What am I missing?
OK, so I wasn't able to get visual studio to list it as an available assembly. But I did find the DLL in C:\Program Files\Microsoft SQL Server\120\Shared and manually included it in my project, and so far that seems to be working.
As TyCobb suggested You might also need the SQL Server Management Objects.
Note: Microsoft.SqlServer.XE.Core.dll is also required
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With