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

System.Data.SqlClient is out of date #34856

Closed
turkmvc opened this issue Oct 8, 2024 · 2 comments
Closed

System.Data.SqlClient is out of date #34856

turkmvc opened this issue Oct 8, 2024 · 2 comments
Labels
area-sqlserver closed-no-further-action The issue is closed and no further action is planned. customer-reported

Comments

@turkmvc
Copy link

turkmvc commented Oct 8, 2024

Hello, I am developing a project with .Net 8. When I upload the files I published to hosting, it says that the System.Data.SqlClient 5.2 version is not continuous. Can you please update the package? It gives errors in my layered architecture projects such as WebAPI or Clean Architecture.

@fredrikcarlbom
Copy link

fredrikcarlbom commented Oct 10, 2024

As discussed elsewhere, for example #34227, SqlClient 5.2 isn't a version with long term support (LTS) while EF Core 8 is, so my understanding is that EF Core 8 will continue reference SqlClient 5.1. I did expect EF Core 9 to reference SqlClient 5.2, but that's not the case, so we will have to make due with SqlClient 5.1.

@roji
Copy link
Member

roji commented Oct 11, 2024

As @fredrikcarlbom wrote above, LTS versions of EF indeed can't depend on non-LTS versions of SqlClient, since the latter would go out of support before the former.

However, you are free to take a dependency on newer versions of SqlClient yourself, in your own project, if you wish.

@roji roji closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2024
@roji roji added area-sqlserver closed-no-further-action The issue is closed and no further action is planned. and removed area-adonet-sqlite labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sqlserver closed-no-further-action The issue is closed and no further action is planned. customer-reported
Projects
None yet
Development

No branches or pull requests

3 participants