-
Notifications
You must be signed in to change notification settings - Fork 44
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.MissingMethodException after migration to .Net 6 #69
Comments
@neisbut - First of all thank you for all your effort and hardwork maintaining this library and making it available for public use. However, I am in need of this urgently. I am sure I can slap together something pretty quickly, but wanted to leverage this great library. How soon do you anticipate this issue to be resolved? |
I have found the workaround to not use the NuGet package but build the library locally and attach the generated DLL into my project. |
@KovarikJiri simply |
@martea My approach was to build the src/Npgsql.Bulk.DotNet6 project in Rider IDE with Release configuration so I would say your solution should work when you specify the release configuration |
Any idea if there's been headway on getting this issue resolved? KovarikJiri's work around can likely work but I'd want to keep to using the nuget package if possible. |
Please update the Nuget Package! The current version works.... |
When I migrated the project to .Net 6 and Npgsql.Bulk into version 0.10.1 then I received the following exception.
System.MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.ModelExtensions.FindEntityType(Microsoft.EntityFrameworkCore.Metadata.IModel, System.Type)'. at Npgsql.Bulk.NpgsqlHelper.GetTableSchema(DbContext context, Type t) at Npgsql.Bulk.NpgsqlBulkUploader.GetEntityInfo[T]() at Npgsql.Bulk.NpgsqlBulkUploader.Import[T](IEnumerable
1 entities)`
The text was updated successfully, but these errors were encountered: