borisdj / EFCore.BulkExtensions

Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite
https://codis.tech/efcorebulk
Other
3.67k stars 588 forks source link

Not able to use the package with .NET 9 #1605

Open Thovenaar opened 1 week ago

Thovenaar commented 1 week ago

The following error comes up when you upgrade to .NET 9.

Warning As Error: Detected package version outside of dependency constraint: Pomelo.EntityFrameworkCore.MySql 8.0.2 requires Microsoft.EntityFrameworkCore.Relational (>= 8.0.2 && <= 8.0.999) but version Microsoft.EntityFrameworkCore.Relational 9.0.0 was resolved.

I think we need to either upgrade Pomelo.EntityFrameworkCore to support .NET 9 or find a replacement.

Thovenaar commented 1 week ago

This is specifically for the MySql package which I am not using at the moment. I decided to install just the SqlServer package and that worked for me. Closing this issue.

borisdj commented 1 week ago

Will check it out for MY as well, soon when new version gets added.

benpsnyder commented 3 days ago

I didn't have success with PGSQL either. I will re-check it in the coming days.

Thovenaar commented 2 days ago

I will reopen the issue as the actual problem is still not solved due to an external dependency.

borisdj commented 1 day ago

Pomelo for MySql has preRelease 9 but even that has some companitibilty issues. Still they said that Release version would be published this or next week, so will update it to 9 as soon as they publish it.