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 KumarRank #91 · 22.9K reputationPosted Jan 9, 2023, 11:15 PM EST
You need to run below command,
Amit MohantyRank #112 · 20K reputationPosted Jan 9, 2023, 11:25 PM EST
Add the below packages if not added.
Sachin SinghRank #66 · 26.2K reputationPosted Jan 10, 2023, 1:04 AM EST
make sure the correct project (project having DBContext) is selected in package manager console dropdown.
second,
entityframeworkcore and entityfraneworkcore. tools are installed.