Hi @rhessinger,
I run proget on windows and configured a separate feed for the symbol nuget
packages. I enabled Symbol Server functionality for this feed.
http://proget:8624/nuget/sýmbol-feed/v3/index.json
My nuget config looks like this:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<activePackageSource>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</activePackageSource>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="symbols-feed" value="http://proget:8624/nuget/symbols-feed/v3/index.json" />
<add key="packages-feed" value="http://proget:8624/nuget/packages-feed/v3/index.json" />
</packageSources>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
<apikeys>
<add key="http://proget:8624/nuget/symbols-feed/v3/index.json" value="AQAAANxxxxxxxxxxxxxxxxxxxxx==" />
<add key="http://proget:8624/nuget/packages-feed/v3/index.json" value="AQAAANxxxxxxxxxxxxxxxxxxxxx==" />
</apikeys>
<packageSourceCredentials>
<symbols-feed>
<add key="Username" value="Example" />
<add key="ClearTextPassword" value="Pwd" />
</symbols-feed>
<packages-feed>
<add key="Username" value="Example" />
<add key="ClearTextPassword" value="Pwd" />
</packages-feed>
</packageSourceCredentials>
<packageManagement>
<add key="format" value="0" />
<add key="disabled" value="False" />
</packageManagement>
<disabledPackageSources>
</disabledPackageSources>
</configuration>
Now I build my package using:
dotnet pack -c Release
This results in:
MyPackage.1.2.0.nupkg
MyPackage.1.2.0.snupkg
Using nuget I can push the package to proget:
nuget push -source packages-feed MyPackage.1.2.0.nupkg
This works well.
But how can I push the snupkg to proget feed symbols-feed?
Best regards
Christian