simpleidserver / EFCore.Cassandra

Entity Framework Core provider for Cassandra
Apache License 2.0
35 stars 16 forks source link

Version 3.0 status #27

Open Ekwav opened 2 years ago

Ekwav commented 2 years ago

What is the status of the 3.0 version? I tried using this library to find a very similar error to https://github.com/simpleidserver/EFCore.Cassandra/issues/21 which is supposedly already solved after https://github.com/simpleidserver/EFCore.Cassandra/issues/22 But as far as I can tell this wasn't released so far.

I get the following error when trying to execute dotnet ef migrations add InitialCreate with the dotnet 6 sdk

System.TypeLoadException: Method 'GenerateScript' in type 'Microsoft.EntityFrameworkCore.Cassandra.Migrations.Internal.CassandraMigrator' from assembly 'EFCore.Cassandra, Version=2.0.5.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at Microsoft.Extensions.DependencyInjection.CassandraServiceCollectionExtensions.AddEntityFrameworkCassandra(IServiceCollection serviceCollection)
   at Microsoft.EntityFrameworkCore.Cassandra.Infrastructure.Internal.CassandraOptionsExtension.ApplyServices(IServiceCollection services)
   at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.ApplyServices(IDbContextOptions options, ServiceCollection services)
   at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.<GetOrAdd>g__BuildServiceProvider|4_0(IDbContextOptions options, ConcurrentDictionary`2 configurations)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd[TArg](TKey key, Func`3 valueFactory, TArg factoryArgument)
   at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.GetOrAdd(IDbContextOptions options, Boolean providerRequired)
   at Microsoft.EntityFrameworkCore.DbContext..ctor(DbContextOptions options)