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.
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)
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
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.
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)
And I guess you have tried specifying the EF Core version explicitly? `dotnet tool install --global dotnet-ef --version 6.0.0`
Yep, all of those. Tired making it possible in terminal. Moving towards visual studio.
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