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

Problems with running Migrator project #6617


User avatar
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)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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,

  • User Avatar
    0
    digitalcontrol created

    It was mistake on mine part. Thank you.