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:

Applicable CAST Version

ReleaseYes/No
8.2
8.3

Applicable RDBMS

RDBMSYes/No
Oracle ServerN/A
Microsoft SQL ServerN/A
CSS3N/A
CSS2N/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=<myUserName>
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

Extension Downloader - Information - How to download an extension using nuget for investigation purpose