You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
Hello,
I attempting to use Microsoft.ApplicationInsights.AspNetCore package with up-to-date Microsoft.Extensions.Logging package. Unfortunately when Microsoft.Extensions.Logging of version higher than 1.1.2(e.g. 2.1.1) in use there is runtimer error caused by old version of Microsoft.Extensions.Configuration which Microsoft.ApplicationInsights.AspNetCore want.
We are planning to add NETSTANDARD2.0 target to the SDK and update the logging packages to 2.XX version along with that. Its tagged for the upcoming stable release, so ~1-2 month ETA.
Thanks for your patience!
@RamjotSingh thanks for the link, having the ILogger implementation (microsoft/ApplicationInsights-dotnet-logging#239 ) in main AppInsights repo is awesome. By the way it still doesn't allow use Microsoft.ApplicationInsights.AspNetCore package with Microsoft.Extensions.Logging v 2.* some reason to use this package are metrics additionally collected and rich customization possibilities (e.g. we can inject TelemetryClient here).
Hello,
I attempting to use Microsoft.ApplicationInsights.AspNetCore package with up-to-date Microsoft.Extensions.Logging package. Unfortunately when Microsoft.Extensions.Logging of version higher than 1.1.2(e.g. 2.1.1) in use there is runtimer error caused by old version of Microsoft.Extensions.Configuration which Microsoft.ApplicationInsights.AspNetCore want.
Repro Steps
I created small sample which demonstrates the behaviour above. https://github.com/snowpardx/app-insights-failure/tree/master
And if try to run, we get the following exception
If switch to https://github.com/snowpardx/app-insights-failure/tree/no-error-if-using-old-package
Where only difference is
The runtime error gone.
Could you please check it out and provide the guidance how to use the package with recent versions of Microsoft.Extensions.Logging?
The text was updated successfully, but these errors were encountered: