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

Igor Baldacci 41 Reputation points
2022-09-29T14:35:53.23+00:00

Hello,
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.
697 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 27,181 Reputation points Microsoft Vendor
    2022-09-30T08:45:32.487+00:00

    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,
    Tianyu

    • 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