Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Pushing symbols.nupkg - NuGet
-
Hi,
We are currently using ProGet 3.4.6 (build6), and currently I'm trying to push a package along with *.symbols.nupkg, however I'm failing to push the *.symbols.nupkg.
When I try to push symbols package (*.symbols.nupkg), I tried using the following after submitting the *.nupkg, however its not working:
nuget push SamplePackage.1.1.0.symbols.nupkg <api-key> -Source https://proget-srv/symbols/site.team
I'm not too sure with the URL whether its correctly, I assumed its something like e.g. https://proget-srv/symbols/site.team, based on http://inedo.com/support/documentation/proget/feeds/symbol-and-source-server.
Also in http://inedo.com/support/tutorials/debug-into-internal-nuget-packages-with-proget there's a tutorial which shows the endpoint name clearly, however it seems to be an old version and in the new version the URL is not shown anywhere (or at least the administrator can't find it).
However for the *.nupkg its working fine by using something like the following:
nuget push SamplePackage.1.1.0.nupkg <api-key> -Source https://proget-srv/nuget/site.team
Any help will be greatly appreciated it, thanks.
Product: ProGet
Version: 3.4.6
-
Sorry I forgot to add the error, I'm getting:
"Failed to process request. 'Not Found'. The remote server returned an error: (404) Not Found.."
<code>NuGet.exe push Sample.Core.0.1.1-alpha.symbols.nupkg 192837914ab -Source https://proget-srv/symbols/site.team</code>
If instead I try to use the same URI as the *.nupkg (e.g. https://proget-srv/nuget/site.team) it will try to overwrite it and get the following error:
Failed to process request. 'There was an error processing the request: The package SiteStack.Core.0.1.1-alpha already exists and the user Anonymous does not have the Feeds_OverwritePackage privilege.'.The remote server returned an error: (403) Forbidden..
-
In short, only push the .symbols package which contains all of the same files in the standard NuGet package, plus the symbols/source.
For more info, see: http://inedo.com/support/questions/1409