Extension Downloader - Information - How to set proxy settings with nuget
Purpose
This page provides information on how to set proxy settings with nuget if a proxy is being used.
For more information, refer to:
- Official documentation for extension downloading: Download an extension
- Downloading and using nuget: Extension Downloader - Information - How to download an extension using nuget for investigation purpose
Applicable CAST Version
| Release | Yes/No |
|---|---|
| 8.2 | ✅ |
| 8.3 | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | N/A |
| Microsoft SQL Server | N/A |
| CSS3 | N/A |
| CSS2 | N/A |
Details
For information on obtaining and using nuget, please see this page: Extension Downloader - Information - How to download an extension using nuget for investigation purpose
Once you have nuget installed, run the following commands from a command prompt to set the proxy settings for nuget with your specific values (if the nuget.exe is not in your path, you may have to specify where it was specifically installed):
nuget.exe config -set http_proxy=http://my.proxy.address:port
nuget.exe config -set http_proxy.user=
nuget.exe config -set http_proxy.password=
These commands will add the following bold lines to the file Nuget.config which is located at %appdata%\NuGet (which generally maps to C:\Users<myUserName>\AppData\Roaming)
*
After you have run these commands, these proxy settings will be used for any future nuget.exe commands.
Notes/comments
Tickets # 19218
Related Pages