0
votes

Am having a challenge while running, migrations with entity framework MVC on Mac, am using CLI with an SDK of .net version 2.2.

Below is the command am using :

dotnet ef migrations add MyFirstMigration

But am getting this error :

The specified deps.json [/Users/idrislutaaya/Desktop/Workspace/LibraryManagement/bin/Debug/netcoreapp2.2/LibraryManagement.deps.json] does not exist

Tried some previous solutions here but no luck e.g Example 1

What is the solution for this?

1
Do you use such a file afayk? Maybe you could add it there.Nikolaus
No, what is that please @Nikolaus?Lutaaya Huzaifah Idris

1 Answers

0
votes

I resolved this issue on Mac by uninstalling all the dotnet SDK versions I had, then after I installed only one version (2.2.300).

I the versions were conflicting.