Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Publish-NuGetPackage doesn't publish symbol packages if -IgnoreRedist option is set. #108

Open
silicondwarf opened this issue May 19, 2015 · 0 comments

Comments

@silicondwarf
Copy link

I created a NuGet package without a separate redist package. I tried to publish the main and corresponding symbol package to my local NuGet and Symbol server (Klondike).

I used the following command line for this:

PM> Publish-NuGetPackage -Packages C:\example\foobar.1.0.0.nupkg -ApiKey xxxxxxxxx -Repository http://nuget.example.local/api -SymbolRepository http://nuget.example.local/api/symbol -IgnoreRedist

I got the following error:

PublishNuGetPackage:No symbols package found for ('C:\example\foobar.1.0.0.nupkg').

But a symbol package named "C:\example\foobar.symbols.1.0.0.nupkg" is in place.

The version of the installed CoApp Tools is: 1.23.521.0

I'm not sure if this is the corresponding source code:

https://github.com/virmitio/coapp.powershell/blob/master/CoApp.Powershell/Commands/PublishNuGetPackage.cs

Line 95 looks to me like a typical copy and paste error.
It should be if (!IgnoreSymbols) instead of if (!IgnoreRedist)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant