Closed lewinskimaciej closed 3 years ago
Hi @lewinskimaciej , While checking this internally, this could be more of an issue for -https://github.com/microsoft/ApplicationInsights-dotnet/issues. Not sure, if this is a dependency issue
Hi @lewinskimaciej , While checking this internally, this could be more of an issue for -https://github.com/microsoft/ApplicationInsights-dotnet/issues. Not sure, if this is a dependency issue
Hi @v-anvari, issue I linked led me to believe there's some Application Insights version forced by Azure Functions/Tools?
Can you provide the repro steps. Also, is this on Linux
Hi @lewinskimaciej , Here is a tracking issue - https://github.com/Azure/azure-webjobs-sdk/issues/2779
The host hasn't been updated with the 2.18 version, the work and testing is in progress. Even if you using the latest version, when you debug, it's going to take the version in the host. Closing this issue here as this has to wait till the version has been updated. The progress will be tracked in the issue mentioned above
We are trying to update our V3(
netcoreapp3.1
) Functions project with new AppInsights so that we can utilizeFlushAsync
method that was added in 2.18.0. https://github.com/microsoft/ApplicationInsights-dotnet/pull/2202We updated all necessary nugets from 2.16.0: Microsoft.ApplicationInsights Microsoft.ApplicationInsights.AspNetCore Microsoft.Extensions.Logging.ApplicationInsights
but in runtime it still fails with:
We are using
This looks like nuget didn't properly update but I made sure it did, cleared all the nuget caches, removed all bin/obj directories, even built it on a separate machine. Final assembly does contain new version of app insights so I think this is related to this bug: https://github.com/Azure/azure-functions-core-tools/issues/2399
Do you know how can we solve this? Will migration to Isolated Process and .NET 5 help with this issue in any way?