microsoft / ApplicationInsights-dotnet

ApplicationInsights-dotnet
MIT License
565 stars 287 forks source link

Update Microsoft.Extensions.Caching.Memory dependency #2919

Open ColeMiller1 opened 5 days ago

ColeMiller1 commented 5 days ago

We were looking at the transitive dependencies of Microsoft.ApplicationInsights.AspNetCore (v2.22.0). The PerfCounterCollector package utilizes Microsoft.Extensions.Caching.Memory (v1.0.0). This version was released in 2016. Could the reference be updated? We target .NET 8.0 so while I do not believe we would be affected by an outdated dependency, it does look like the most recent version of Microsoft.Extensions.Caching.Memory (v9.0.0) still supports the .NET 2.0 standard.

https://github.com/microsoft/ApplicationInsights-dotnet/blob/e34286b4c8175d7ea47f9227c5b981d661cac470/WEB/Src/PerformanceCollector/PerformanceCollector/Perf.csproj#L30-L33