Search code examples
c#entity-framework-coreef-core-power-tools

Error - EF Core Power Tools: The application to execute does not exist: 'C:\Users\UserName\AppData\Local\Temp\efpt\efpt.dll'


I'm using EF Core Power Tools v2.6.820 and when I'm trying to do "Add DbContext Diagram":

Add DbContext Diagram

I'm getting this error:

System.InvalidOperationException: Error:
The application to execute does not exist: 'C:\Users\UserName\AppData\Local\Temp\efpt\efpt.dll'

at async Task EFCorePowerTools.Handlers.ModelAnalyzerHandler.GenerateAsync(string outputPath, Project project, GenerationType generationType)

System.InvalidOperationException: Error:
The application to execute does not exist: 'C:\Users\UserName\AppData\Local\Temp\efpt\efpt.dll'

at async Task EFCorePowerTools.Handlers.ModelAnalyzerHandler.GenerateAsync(string outputPath, Project project, GenerationType generationType)

PS: I'm using Entity Framework Core version="7.0.20"

Thanks


Solution

  • EF Core 7 is no longer supported with EF Core Power Tools- upgrade to a supported EF Core version