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

Power Tool fails to generate angular files #5924


User avatar
0
TimMackey created

I attempted to 'Load an Entity from a Database' with the following selections:

Windows 10 cmd shell produced the following:

-> InstitutionsAppService.cs is being generated.
-> IInstitutionsAppService.cs is being generated.
-> InstitutionsConsts.cs is being generated.
-> CreateOrEditInstitutionsDto.cs is being generated.
-> InstitutionsDto.cs is being generated.
-> GetAllForLookupTableInput.cs is being generated.
-> GetAllInstitutionsInput.cs is being generated.
-> GetInstitutionsForView.cs is being generated.
-> GetInstitutionsForEditOutput.cs is being generated.
-> Institutions.cs is being generated.
-> AppPermissions.cs is being modified.
-> AppAuthorizationProvider.cs is being modified.
-> ngTTMDbContext.cs is being modified.
-> CustomDtoMapper.cs is being modified.
Running add-migration...
Build failed.
Running update-database...
Build failed.
-> ngTTM.xml is being modified.

Code generation is complete. Press ENTER to exit...

127 files were created or modified. 15 files in asp-net-core/src/ngTTM, the remainder in new folder 'AspNetZeroRadTool'.

The documentation states the following files (substituting 'cars' for 'institutions') should be created for Angular:

Created

cars.component.ts
cars.component.html
create-or-edit-car-modal.component.ts
create-or-edit-car-modal.component.html
Lookup-Table-modal.component.ts
Lookup-Table-modal.component.html
Lookup-Table-modal.component.less

Modified

app-navigation.service.ts
service-proxy.module.ts
(Main or Admin)-routing.module.ts
(Main or Admin).module.ts

No files were modified or created in my application's '/angular' folder. Why?


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @timmackey

    Sorry for my late response, have you figured out the problem ? We never faced such a problem before.

    • Does it work if you genereate new files if you crete a new entity ?
  • User Avatar
    0
    TimMackey created

    The answer seems to be that the all selections in the User Interface group are unselected.