0

I'm trying to learn .Net Core and I am currently stuck with this error.

When I open the NuGet Package Manager Console, the first error appears saying "Failure has occured while loading a type."

Then when I type my code add-migration addCategoryToDatabase, it returns me errors saying "add-migration : The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program."

Now, I have search StackOverflow for the solutions and found these: The term "Add-Migration" is not recognized

GitHub - add-migration : Installing Microsoft.EntityFrameworkCore.Tools fixed it.

I also tried closing the NuGet Package Manager > Save > Close VS 2019 > Open VS 2019 but the problem is still there.

I also tried to uninstall and install fresh new copy of VS with the help from this link.

I also need to mention that I am using MacOS Big Sur version 11.6

Appreciate your help on my issue.

Nuget Error enter image description here

Extension enter image description here

Installed Packages enter image description here

Ben Daggers
  • 1,000
  • 1
  • 16
  • 51
  • Which version of the addin do you have installed? You should be able to see that from the About Dialog - Show Details page (or the Extensions Manager dialog). My guess you are using an old version? The latest is 0.27 - https://github.com/mrward/monodevelop-nuget-extensions/releases/tag/v0.27-vsm8.10 – Matt Ward Nov 08 '21 at 17:36

0 Answers0