Hi,
I want to add first migration in database, but I get error "Method 'get_Info' in type 'Microsoft.EntityFrameworkCore.Infrastructure.Internal.SqlServerOptionsExtension' from assembly 'Microsoft.EntityFrameworkCore.SqlServer, Version=1.1.6.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation."
Does anyone know how to solve this?
Jignesh KumarPosted Jan 10, 2023, 4:15 AM
You need to run below command,
Sachin SinghPosted Jan 10, 2023, 6:04 AM
make sure the correct project (project having DBContext) is selected in package manager console dropdown.
second,
entityframeworkcore and entityfraneworkcore. tools are installed.
Amit MohantyPosted Jan 10, 2023, 4:25 AM
Add the below packages if not added.