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

Please update the provider for .NET Core 3 #2

Closed
vinaychandra opened this issue May 18, 2020 · 3 comments
Closed

Please update the provider for .NET Core 3 #2

vinaychandra opened this issue May 18, 2020 · 3 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@vinaychandra
Copy link

The current provider has issues when using under .Net Core 3

System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtensionWithDebugInfo' from assembly 'Microsoft.EntityFrameworkCore, Version=3.1.4.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
   at IMSBackend.Models.CassandraDbContext.OnConfiguring(DbContextOptionsBuilder optionsBuilder)
   at Microsoft.EntityFrameworkCore.DbContext.get_InternalServiceProvider()
   at Microsoft.EntityFrameworkCore.DbContext.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.get_Instance()
   at Microsoft.EntityFrameworkCore.Infrastructure.Internal.InfrastructureExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Infrastructure.AccessorExtensions.GetService[TService](IInfrastructure`1 accessor)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory)
   at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType)
   at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.AddMigration(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigrationImpl(String name, String outputDir, String contextType)
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.AddMigration.<>c__DisplayClass0_0.<.ctor>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.<>c__DisplayClass3_0`1.<Execute>b__0()
   at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtensionWithDebugInfo' from assembly 'Microsoft.EntityFrameworkCore, Version=3.1.4.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

According to this, the provider has to be updated to support .NET Core 3

@simpleidserver simpleidserver added this to In Progress in 2.0.0 May 18, 2020
@simpleidserver simpleidserver added the bug Something isn't working label May 18, 2020
@simpleidserver
Copy link
Owner

We are going to take a look ASAP.

@simpleidserver simpleidserver moved this from In Progress to Review in 2.0.0 May 20, 2020
@simpleidserver
Copy link
Owner

The project has been migrated to DOTNET CORE 3.1 in the branch "release/2.0.0".

@simpleidserver simpleidserver moved this from Review to Done in 2.0.0 May 21, 2020
@simpleidserver simpleidserver added the enhancement New feature or request label May 21, 2020
@simpleidserver
Copy link
Owner

The project has been migrated to DOTNET CORE 3.1 in the release 2.0.0

@simpleidserver simpleidserver added this to Done in 2.0.1 Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants