Visual Studio 2022 for mac, PM console or CLI to use entity framework command (add-migration, update-database, ecc.)

Igor Baldacci 41 Reputation points

I'm using Visual Studio 2022 for mac, I have understood that the preview version not include PM console or CLI to use entity framework command.

So, how can I do it? Which is the way to use entity framework commands, such as add-migration, update-database, ecc.?

I'm bit confused... please help!

Thank you very much.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
700 questions
Microsoft Technologies based on the .NET software framework.
3,438 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,796 Reputation points Microsoft Vendor

    Hello @Igor Baldacci ,

    Welcome to Microsoft Q&A forum.

    So, maybe you can try to use dotnet CLI, by installing .NET and using terminal on Mac.

    Best Regards,

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful