.net - Microsoft.ApplicationInsights.Log4NetAppender -


i'm getting silent error when trying create log4netappender, stops logging working.

could not load type 'microsoft.applicationinsights.telemetryconfiguration' assembly 'microsoft.applicationinsights, version=1.1.0.1899, culture=neutral, publickeytoken=31bf3856ad364e35'.
@ microsoft.applicationinsights.tracing.tracer..ctor(string instrumentationkey)
@ microsoft.applicationinsights.log4netappender.applicationinsightsappender.activateoptions()

at log4net.repository.hierarchy.xmlhierarchyconfigurator.parseappender(xmlelement appenderelement)

from can see, log provider trying create class microsoft.applicationinsights.telemetryconfiguration wrong namespace , class exists in microsoft.applicationinsights.extensibility.telemetryconfiguration.

we using following libraries

microsoft.applicationinsights - 1.1.0.1899

microsoft.applicationinsights.log4netappender - 0.10.0.0

they both latest versions, i'm not sure why aren't working together.

fixed - upgraded latest microsoft.applicationinsights.log4netappender stable pre-release 1.1.0


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -