Skip to content

Commit 2134b15

Browse files
authored
Updated nuget instructions
- Removed instructions for encrypted password. This is not supported by .NET Core and Blazor is only used on .NET Core. Therefore these instructions will not work unless Microsoft adds support. If they do we can update the instructions at that time.
1 parent 330154c commit 2134b15

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

installation/nuget.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,6 @@ To add the Telerik private NuGet feed, follow the steps below:
2424
1. Open a Command Prompt and change the path to where the `nuget.exe` is downloaded.
2525
1. Execute the command from the example below.
2626

27-
### Store Encrypted Credentials
28-
29-
The command from the example below stores a token in the `%AppData%\NuGet\NuGet.config` file. Your original credentials cannot be obtained from this token.
30-
31-
>note If you are unable to connect to the feed by using encrypted credentials, try the alternative approach of storing credentials in clear text explained below. The ASP.NET Core tooling this step is based on does not fully support encrypted credentials.
32-
33-
>caption Store Encrypted Credentials for the Telerik NuGet feed
34-
35-
```
36-
NuGet Sources Add -Name "telerik.com" -Source "https://nuget.telerik.com/nuget" ^
37-
-UserName "your login email" -Password "your password"
38-
```
39-
4027
### Store Credentials in Clear Text for the Telerik NuGet feed
4128

4229
The command from the example below stores the password in clear text in the `%AppData%\NuGet\NuGet.config` file. If you are unable to connect to the feed using encrypted credentials, use this alternative approach.
@@ -58,6 +45,9 @@ NuGet Sources Update -Name "telerik.com" -Source "https://nuget.telerik.com/nuge
5845
-UserName "your login email" -Password "your password" ^
5946
-StorePasswordInClearText
6047
```
48+
### Store Encrypted Credentials
49+
50+
The ASP.NET Core tooling does not fully support encrypted credentials.
6151

6252
### Nuget Config File
6353

@@ -67,7 +57,7 @@ Make sure you are familiar with how such configurations work. The [Common NuGet
6757

6858
To use a `nuget.config` file for the Telerik feed, you need to:
6959

70-
1. Ensure you have the relevant config file. You can create a new one by via the [dotnet new command](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) by calling `dotnet new nugetconfig`.
60+
1. Ensure you have the relevant config file: `%AppData%\NuGet\NuGet.Config`. You can create a new one by via the [dotnet new command](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) by calling `dotnet new nugetconfig`.
7161

7262
2. Add the Telerik feed to it, and make sure to use plain-text credentials, because the .NET Core tooling does not fully support encypted credentials. Here is an example of how your config file can look like:
7363

0 commit comments

Comments
 (0)