Skip to content

More than one DbContext was found? #3

@Tyrone104

Description

@Tyrone104

Hi Patrick, great presentation and greatly appreciated.

I have this error and have spent to much time trying to figure it out with extremely little knowledge. Any help would greatly be appreciated?

Kind Regards,

Ty

PS C:\dotnet-rpg> dotnet ef migrations Add InitialCreate
Build started...
Build succeeded.
More than one DbContext was found. Specify which one to use. Use the '-Context' parameter for PowerShell commands and the '--context' parameter for dotnet commands.
PS C:\dotnet-rpg>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions