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


Release

Yes/No

8.2(tick)
8.3(tick)


Applicable RDBMS
RDBMS
Yes/No
Oracle Server N/A
Microsoft SQL ServerN/A 
CSS3N/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=<mydomain>\<myUserName>
nuget.exe config -set http_proxy.password=<mySuperSecretPassword>

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)

<configuration>
<!-- stuff -->
<config>
<add key="http_proxy" value="<http://my.proxy.address:port>" />
<add key="http_proxy.user" value="<mydomain>\<myUserName>" />
<add key="http_proxy.password" value="base64encodedencryptedpassword" />
</config>
<!-- stuff -->
</configuration>

After you have run these commands, these proxy settings will be used for any future nuget.exe commands.

Notes/comments

 Tickets # 19218