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

9.0.0 package broken #40

Open
ErikEJ opened this issue Nov 22, 2024 · 4 comments
Open

9.0.0 package broken #40

ErikEJ opened this issue Nov 22, 2024 · 4 comments

Comments

@ErikEJ
Copy link

ErikEJ commented Nov 22, 2024

EF Core 9 targets .NET 8, so the .NET target of this package should be .NET 8, not .NET 9 as currently is the case...

@JonPSmith
Copy link
Owner

Hi @ErikEJ,

OK, I have found this Breaking changes in EF Core 9 in EF Core, which says "NET Core, and .NET Framework versions will need to target .NET 8 or .NET 9 to use EF Core 9.".

That says that I have a .NET 8 and a .NET 9 version, which I have done. The code in both the 8 and 9 versions are the same, so you could the .NET 8 version if you want to .NET 8.

Does that make sense?

@ErikEJ
Copy link
Author

ErikEJ commented Nov 22, 2024

No, you need to retarget .net 8 or at least target both

@JonPSmith
Copy link
Owner

Hi @ErikEJ ,

I'm not doing to that. If you want an .NET 8 version, then take the latests .NET 8 version, which is 8.2.0. Then update the following EF Core NuGets to the .NET 9 version:

  • Microsoft.EntityFrameworkCore.Design
  • Microsoft.EntityFrameworkCore.Relational

@ErikEJ
Copy link
Author

ErikEJ commented Nov 23, 2024

I think you are mixing up EF Core 9 vs .NET 9.

I need this for EF Core Power Tools, but let me see if I can special case your suggestion

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