Skip to content

[BUG] Cannot use Add-Migrations #32

Description

@caiovitor

Describe the bug
When I try to use Add-Migration DbInit -context OrdersContext in project DevStore.Orders.Infra I got this error bellow:
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Package Manage Console'
  2. Select the project 'DevStore.Orders.Infra'
  3. Run the command 'Add-Migration DbInit -context OrdersContext'
  4. See error

Expected behavior
Generate migrations files

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Visual Studio Community 2022

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions