You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: installation/nuget.md
+31-1Lines changed: 31 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ This article explains how to add the private Telerik NuGet feed to your system.
20
20
21
21
To add the Telerik private NuGet feed, follow the steps below:
22
22
23
-
1. Download the [latest NuGet executable](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe).
23
+
1. Download the [latest NuGet executable](https://dist.nuget.org/win-x86-commandline/latest/nuget.exe). If you cannot use the `exe` (for example on Mac or Linux), you can [use a nuget.config](#nuget-config-file) file.
24
24
1. Open a Command Prompt and change the path to where the `nuget.exe` is downloaded.
NuGet feeds and other settings can be stored in a `nuget.config` file. You can read more about it in the [Nuget Config File - Package Sources](https://docs.microsoft.com/en-us/nuget/reference/nuget-config-file#packagesources) article.
65
+
66
+
Make sure you are familiar with how such configurations work. The [Common NuGet Configurations](https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior#creating-a-new-config-file) article is a reference document you can use.
67
+
68
+
To use a `nuget.config` file for the Telerik feed, you need to:
69
+
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`.
71
+
72
+
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:
73
+
74
+
**nuget.config**
75
+
76
+
<?xml version="1.0" encoding="utf-8"?>
77
+
<configuration>
78
+
<packageSources>
79
+
<!--To inherit the global NuGet package sources remove the <clear/> line below -->
0 commit comments