From a4cf0ccd6c47f275405a94cae89b55b62b2bda81 Mon Sep 17 00:00:00 2001 From: Dimo Dimov <961014+dimodi@users.noreply.github.com> Date: Tue, 12 Aug 2025 11:02:03 +0300 Subject: [PATCH] docs(Common): Fix .NET CLI statements for NuGet source --- deployment/nuget-keys.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/nuget-keys.md b/deployment/nuget-keys.md index 8ba60b51f5..0c06780f6b 100644 --- a/deployment/nuget-keys.md +++ b/deployment/nuget-keys.md @@ -87,13 +87,13 @@ You can use the .NET CLI `add source` or `update source` commands to set the cre * To set the credentials in Azure DevOps: ````SH.skip-repl - dotnet nuget add source 'TelerikOnlineFeed' --source 'https://nuget.telerik.com/v3/index.json' --username 'api-key' --password '$(TELERIK_NUGET_KEY)' --configfile './NuGet.Config' --store-password-in-clear-text + dotnet nuget add source 'https://nuget.telerik.com/v3/index.json' --name 'TelerikOnlineFeed' --username 'api-key' --password '$(TELERIK_NUGET_KEY)' --configfile './NuGet.Config' --store-password-in-clear-text ```` * To set the credentials in GitHub Actions: ````SH.skip-repl - dotnet nuget add source 'TelerikOnlineFeed' --source 'https://nuget.telerik.com/v3/index.json' --username 'api-key' --password '${{ "{{secrets.TELERIK_NUGET_KEY}}" }}' --configfile './NuGet.Config' --store-password-in-clear-text + dotnet nuget add source 'https://nuget.telerik.com/v3/index.json' --name 'TelerikOnlineFeed' --username 'api-key' --password '${{ "{{secrets.TELERIK_NUGET_KEY}}" }}' --configfile './NuGet.Config' --store-password-in-clear-text ```` > When restoring NuGet packages through the CLI, [use `dotnet restore` rather than `nuget restore` to avoid compatibility errors](slug:common-kb-package-telerik-pivot-not-compatible-with-netframework).