Kevin Burton

Kevin Burton

  • NA
  • 8
  • 1.4k

MariaDB and Entity Framework

Feb 12 2021 11:49 PM
I am trying to get EF running with EF Core. I ran into the article at https://www.c-sharpcorner.com/article/how-to-configure-a-net-core-3-1-with-mariadb/ and I ran into an error on the first step. Here is the output I received:
 
PS U:\> dotnet tool install --global dotnet-ef
Determining projects to restore...
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/ihmainc/_packaging/ihmainc/nuget/v3/index.json. [C:\XXX\AppData\Local\Temp\un55pprb.rmn\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\XXX\AppData\Local\Temp\un55pprb.rmn\restore.csproj]
The tool package could not be restored.
Tool 'dotnet-ef' failed to install. This failure may have been caused by:
* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
 
Is there a more up to date way of making MariaDB and EF work together? Or is there a way to overcome this error?