You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the base package, I'm keen to target net472 directly instead of netstandard2.0. But, I'm not quite sure if there are any users that still need netstandard specifically. Perhaps we'll remove it in version 10.
For the EF6 package, we'll also target net8.0 and net9.0 TFMs. Some of the users are still targeting EF6 in new projects. I assume there might be a subset of users who are still transitioning from netfx, so we'll keep supporting that.
For the EFCore package, even though we target both net8.0 and net9.0, we'll depend on the latest version of EF Core, 9.0.2 at the moment. The EF Core packages always depend on the latest LTS runtime, so EF Core 9 works on .NET 8.
PS. Technically, we don't even need to target the newest TFMs or the latest EF Core versions. We should specify only the minimum requirements. And that's what we were doing in the past. But, we're constantly getting complaints from users (there is a misunderstanding about how TFMs and dependencies work), so we'll multi-target all supported TFMs.
I gave this a second thought and changed my mind. The users targeting .NET 8, even though they can use EF Core 9, they won't and will stick to EF Core 8. So, if we force EF Core 9 on them, I anticipate a lot of complaints.
Let's revise those dependencies. We'll require EF Core 8 for .NET 8 TFM. If anyone wants to use the newer version, they can surely do so by installing it explicitly.
Activity
fiseni commentedon Mar 9, 2025
I gave this a second thought and changed my mind. The users targeting
.NET 8, even though they can useEF Core 9, they won't and will stick toEF Core 8. So, if we forceEF Core 9on them, I anticipate a lot of complaints.Let's revise those dependencies. We'll require
EF Core 8for.NET 8TFM. If anyone wants to use the newer version, they can surely do so by installing it explicitly.So, the revised dependencies are as follows:
Ardalis.Specification- net8.0;net9.0;netstandard2.0Ardalis.Specification.EntityFrameworkCore- net8.0;net9.0EF Core 8.0.13for net8.0 TFMEF Core 9.0.2for net9.0 TFMArdalis.Specification.EntityFramework6- net8.0;net9.0;net472;EF6 6.5.1