Failed to retrieve https://nuget.telerik.com/v3/package/dotnet-ef/index.json' when trying to update dotnet-ef

1 Answer 231 Views
Miscellaneous
Eino
Top achievements
Rank 1
Eino asked on 11 Dec 2022, 11:32 AM
I try to update dotnet-ef tool (nothing to do with telerik) but my command line says..

dotnet tool update --global dotnet-ef
C:\Users\.....\AppData\Local\Temp\39691258-df65-4470-843c-6b086590af0f\restore.csproj : error NU1301: Failed to retriev
e information about 'dotnet-ef' from remote source 'https://nuget.telerik.com/v3/package/dotnet-ef/index.json'.
Tool 'dotnet-ef' failed to update due to the following:
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

1 Answer, 1 is accepted

Sort by
0
Eino
Top achievements
Rank 1
answered on 11 Dec 2022, 11:43 AM
Hmm. I found it
I had installed telerik feed in Visual Studio but it did not work on commandline so...



 NuGet Sources Update -Name "TelerikNuGetV3" -Source "https://nuget.telerik.com/v3/index.json" -UserName "youremail" -Password "xxxx" -StorePasswordInClearText


helped me out 
Adding the Private Telerik NuGet Feed to Visual Studio - Telerik Reporting

but example had a wrong feed name "telerik.com" but installer makes it with name "TelerikNuGetV3"
Tags
Miscellaneous
Asked by
Eino
Top achievements
Rank 1
Answers by
Eino
Top achievements
Rank 1
Share this question
or