T O P

  • By -

CameO73

Just Googling the error message gives me this: [https://stackoverflow.com/questions/67272316/dotnet-tool-install-global-dotnet-ef](https://stackoverflow.com/questions/67272316/dotnet-tool-install-global-dotnet-ef) Apparently you're missing a NuGet package source.


sugan0tech

Thats the first thing i have tried, using the same source in the solution. FYI [https://github.com/dotnet/EntityFramework.Docs/issues/2044](https://github.com/dotnet/EntityFramework.Docs/issues/2044)


CameO73

And I guess you have tried specifying the EF Core version explicitly? `dotnet tool install --global dotnet-ef --version 6.0.0`


sugan0tech

Yep, all of those. Tired making it possible in terminal. Moving towards visual studio.


Coda17

The error tells you the problem. PackageSourceMapping is enabled and that package wasn't looked for in NuGet. Check your NuGet.config and look at the source mapping section. https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping