I've been having trouble getting through our proxy to download packages via nuget. Finally figured out that I can achieve this by adding this to NuGet.config in the <user>\application data\NuGet folder:
<config>
However when I go to VisualStudio 2010 > Tools > Options > Package Manager and use the Clear Package Cache option any custom settings in the configuration file are erased.
<config>
<add key="http_proxy" value="www-proxy:80" />
</config>However when I go to VisualStudio 2010 > Tools > Options > Package Manager and use the Clear Package Cache option any custom settings in the configuration file are erased.
- Why?
- Can I prevent this?