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

Microsoft.AspNetCore/2.3.0 #59882

Closed
1 task done
gravity00 opened this issue Jan 15, 2025 · 2 comments
Closed
1 task done

Microsoft.AspNetCore/2.3.0 #59882

gravity00 opened this issue Jan 15, 2025 · 2 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates

Comments

@gravity00
Copy link

gravity00 commented Jan 15, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Hello,

Some hours ago Microsoft released version 2.3.0 of both Microsoft.AspNetCore.Mvc.Razor and Microsoft.AspNetCore.Mvc.TagHelpers with a dependency on version 8 of some helper libraries, like Microsoft.Extensions.Caching.Memory, instead of version 2.

Image

This is causing problems compiling and running some of our older applications since it implicitly forces an upgrade on libraries like Microsoft.Extensions.Options or Microsoft.Extensions.Logging, which have some significant breaking changes from version 2 up to 8.

The fix is to change de project dependencies and ensure these libraries are fixed on version 2.2.0. instead of 2.x

What I'm finding odd is that these libraries aren't maintained anymore and this doesn't look like to be made on purpose, specially a release 7 years later.

Expected Behavior

Keep the dependencies of Microsoft.Extension.* libraries on version 2 instead of upgrading to version 8.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Jan 15, 2025
@gravity00 gravity00 changed the title Microsoft.AspNetCore.Mvc.Razor/2.3.0 Microsoft.AspNetCore.Mvc/2.3.0 Jan 15, 2025
@gravity00
Copy link
Author

Actually, this isn't constrained to only these two packages, but to all the Microsoft.AspNetCore.* listed packages.

@gravity00 gravity00 changed the title Microsoft.AspNetCore.Mvc/2.3.0 Microsoft.AspNetCore/2.3.0 Jan 15, 2025
@wtgodbe
Copy link
Member

wtgodbe commented Jan 15, 2025

This is intentional, see #58598. 2.2 has been out of support since 2019, and the netcoreapp2.1 TFM since 2021. Apps should still work when targeting .NET Framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

No branches or pull requests

2 participants