Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Microsoft.Extensions.Caching.Memory dependency #2919

Open
ColeMiller1 opened this issue Nov 26, 2024 · 1 comment
Open

Update Microsoft.Extensions.Caching.Memory dependency #2919

ColeMiller1 opened this issue Nov 26, 2024 · 1 comment

Comments

@ColeMiller1
Copy link

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.

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="1.0.0" />
<PackageReference Include="System.Diagnostics.PerformanceCounter" Version="6.0.0" />
</ItemGroup>

@matt1munich
Copy link

Not only that but I ran into a jam this morning where I was getting a TypeLoadException due to this dependency issue:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants