EFCorePowerTools: Add DbContext Diagram fails
Add DbContext Diagram fails.
Steps to reproduce Right-click data access project with EF Core 5 context in it -> EF Power Tools -> Add DbContext Diagram.
Output System.ArgumentException: Error: System.MissingMethodException: Method not found: ‘Microsoft.EntityFrameworkCore.Metadata.Internal.DebugView`1<Microsoft.EntityFrameworkCore.Metadata.Internal.Model> Microsoft.EntityFrameworkCore.Metadata.Internal.Model.get_DebugView()’. at Modelling.EfCoreModelBuilder.BuildResult(String outputPath, String startupOutputPath, Boolean generateDdl) at Modelling.Program.Main(String[] args) in C:\Code\EFCorePowerTools\src\GUI\efpt30.core\Program.cs:line 54
Parameter name: processResult at EFCorePowerTools.Handlers.ModelAnalyzerHandler.<GenerateAsync>d__2.MoveNext() in C:\projects\efcorepowertools\src\GUI\EFCorePowerTools\Handlers\ModelAnalyzerHandler.cs:line 77
Further technical details EF Core Power Tools version: 2.5.513 Database engine: SQL Server Visual Studio version: Visual Studio 2019 16.8.5
Thank you for your help.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (10 by maintainers)
I’ll get one together.