0
digitalcontrol created
When I try to run Migrator project I got this error:
Unhandled Exception: Castle.MicroKernel.Handlers.HandlerException: Can't create component 'PROJECT.EntityFrameworkCore.PROJECTEntityFrameworkCoreModule' as it has dependencies to be satisfied.
'PROJECT.EntityFrameworkCore.PROJECTEntityFrameworkCoreModule' is waiting for the following dependencies:
- Service 'Microsoft.AspNetCore.Hosting.IHostingEnvironment' which was not registered.
2 Answer(s)
-
0
Hi @digitalcontrol
- Do you get this error immediately when you run the app or does it happen when you start migration ?
- Have you made any changes to source code or is it a raw project downloaded from aspnetzero.com ? I'm asking because I couldn't reproduce it using the latest version (6.7).
Thanks,
-
0
It was mistake on mine part. Thank you.