The official release notes say:
Improved compatibility with the EventSource nuget package
- SLAB's source must be updated and rebuilt to work with the EventSource nuget package (which supports channels, but does not support sampling). The process is now fairly painless.
- Added references to the EventSource nuget package to all projects
- Changed
System.Diagnostics.TracingtoMicrosoft.Diagnostics.Tracingin all source files- Defined the EVENT_SOURCE_PACKAGE constant in the unit test project (to disable tests that cannot possibly work with the nuget version).
This is a bit cryptic. Something seems backwards because I can't see any references at all to Microsoft.Diagnostics.Tracing in the Nuget download.
Or are the sub-bullets things that you have to do to get it to build (so it should say, Add, Change, Define instead of Added, Changed, Defined)?
Hm, well those instructions (if they are instructions) are not sufficient:
- There are three places where
Microsoft.Diagnostics.Tracingis already referenced, so that gives duplicate warnings - There are multiple places where ambiguities appear between
Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Etw.Configuration.EventSourceSettings(which is a class) andMicrosoft.Diagnostics.Tracing.EventSourceSettings(which is an enum).
A bit of detective work and common sense:
The last release date of SLAB is 25 July 2014, there have been a whole load of versions of
Microsoft.Diagnostics.Tracing.EventSource, including one which presumably innocently introducedEventSourceSettings.If I install and reference version 1.0.26, the instructions work.
Now just have to find out what things from version 1.1.28 are missing, and whether I miss them.