Visualstudio-docs: Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtensionWithDebugInfo' from assembly 'Microsoft.EntityFrameworkCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

Created on 30 Jul 2019  路  2Comments  路  Source: MicrosoftDocs/visualstudio-docs

I can't generate Controllers in EF Power Tools.

Could not load type 'Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptionsExtensionWithDebugInfo' from assembly 'Microsoft.EntityFrameworkCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

My csproj file:


netcoreapp3.0



all
runtime; build; native; contentfiles; analyzers; buildtransitive




VS2019

Pri3 cba support-request

Most helpful comment

@caojinqin We're sorry to hear you're having issues.

This appears to be an issue with fixed with version 6 preview of EntityFrameworkCore.SqlServer.

All 2 comments

@caojinqin We're sorry to hear you're having issues.

This appears to be an issue with fixed with version 6 preview of EntityFrameworkCore.SqlServer.

Just note about the same problem in ef core 3.1.5. Fixed by removing package Microsoft.EntityFrameworkCore.SqlServer.Design

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JeepNL picture JeepNL  路  3Comments

DaanV2 picture DaanV2  路  4Comments

tpodolak picture tpodolak  路  3Comments

gewarren picture gewarren  路  3Comments

suhailmahmood picture suhailmahmood  路  3Comments