[Mono-dev] .net/mono inconsistency

Jonathan Pryor jonpryor at vt.edu
Tue Aug 7 19:55:54 UTC 2012


On Jul 14, 2012, at 6:26 AM, Matthias D. <matthi.d at googlemail.com> wrote:
> Ok I figured it out, the problem was using the answer from this: http://stackoverflow.com/questions/1769772/reading-tracelistener-initializedata-property-from-config-net-1-1 and in mono there is no field called "initializeData". I did found another workaround though.

What field would you even be looking for? The //listeners/add/@initializeData attribute is used to pass a value to the constructor:

	https://github.com/mono/mono/blob/master/mcs/class/System/System.Diagnostics/DiagnosticsConfigurationHandler.cs#L435

- Jon



More information about the Mono-devel-list mailing list