Mani
Mani

Reputation: 11

Facing some EF Core version issue after upgrading from .NET Core 3 to .NET 8

I have upgraded my application from .NET Core 3 to .NET 8. When I tried to run my application, I get this error:

Unhandled exception. System.TypeLoadException: Could not load type 'Microsoft.EntityFrameworkCore.Storage.IRelationalValueBufferFactoryFactory' from assembly 'Microsoft.EntityFrameworkCore.Relational, Version=8.0.0.0, Culture=neutral, PublicKeyToken=a..

I need a solution for this

Upvotes: 1

Views: 665

Answers (1)

Guru Stron
Guru Stron

Reputation: 142903

Such errors usually indicate package version mismatch. Be sure to upgrade/consolidate package versions especially EF Core ones (based on problem with one of Microsoft.EntityFrameworkCore types).

Upvotes: 0

Related Questions