Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Power Tools not generating migration scripts but generates other files. #7103


User avatar
0
hardeep368 created

Tried to generate a simple entitiy with Poer tools extension. The following log specified below is generated. The add-migration step shows the message in bold however doesn't error out. On checking this path it doesn't exist on the system. the path that exists is .dotnet\tools.store\dotnet-ef\2.2.4\dotnet-ef\2.2.4\tools\netcoreapp2.2\any somehow it is trying to find 2.2.4-servicing-10062 folder but actual folder is only 2.2.4

The project is angular and asp core on v 6.91 in vs 2019 with sql 2017 at the back.

Full log: -> GetEmployeeForViewDto.cs is being generated. -> GetEmployeeForEditOutput.cs is being generated. -> Employee.cs is being generated. -> EmployeesExcelExporter.cs is being generated. -> IEmployeesExcelExporter.cs is being generated. -> AppPermissions.cs is being modified. -> AppAuthorizationProvider.cs is being modified. -> EntityHistoryHelper.cs is being modified. -> Cloud9UniversalDemoDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... The application to execute does not exist: '.dotnet\tools.store\dotnet-ef\2.2.4-servicing-10062\dotnet-ef\2.2.4-servicing-10062\tools\netcoreapp2.2\any\dotnet-ef.dll'. Running update-database... The application to execute does not exist: '.dotnet\tools.store\dotnet-ef\2.2.4-servicing-10062\dotnet-ef\2.2.4-servicing-10062\tools\netcoreapp2.2\any\dotnet-ef.dll'. -> employees.component.ts is being generated. -> employees.component.html is being generated. -> create-or-edit-employee-modal.component.html is being generated. -> create-or-edit-employee-modal.component.ts is being generated. -> view-employee-modal.component.html is being generated. -> view-employee-modal.component.ts is being generated. -> main.module.ts is being modified. -> main-routing.module.ts is being modified. -> app-navigation.service.ts is being modified. -> service-proxy.module.ts is being modified. -> Cloud9UniversalDemo.xml is being modified.


1 Answer(s)
  • User Avatar
    1
    hardeep368 created

    This was resolved by removing aspnet core 3.0 from the system.