Resetting Stored NuGet Credentials
Author |
---|
Dobrinka Yordanova |
Description
I need to reset and update the credentials used by the NuGet package manager to access the Telerik NuGet server. How can I do that?
This KB also answers the following questions:
- How to reset the saved credentials for the Telerik NuGet server?
- How to remove the stored credentials for the Telerik NuGet server?
Solution
To update the saved credentials for the NuGet server:
- Remove the saved credentials in the Windows Credential Manager. These credentials will appear as
nuget.telerik.com
orVSCredentials_nuget.telerik.com
entries. - Remove the Telerik NuGet package source from Visual Studio.
- If you have added the Telerik package source by using the .NET CLI, try to remove it by running the following commands:
- Check if you have any credentials stored in
%AppData%\NuGet\Nuget.Config
. If so, remove them. - Try to reset the Visual Studio user data by forcing NuGet to ask for authentication.
- Restart Visual Studio.
- Add the Telerik NuGet package source again through Visual Studio or .NET CLI. If you are using the Telerik NuGet feed in a .NET Core application, use a NuGet API key in the NuGet.Config file.