Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for NuGet Signing in NuGet-task (NuGet 4.6) #7386

doormalena opened this Issue Jun 6, 2018 · 3 comments


None yet
4 participants
Copy link

doormalena commented Jun 6, 2018

We would like to see that the NuGet Signing capability is added as a configurable option for the the NuGet build definition task. See also


This comment has been minimized.

Copy link

jotaylo commented Jun 8, 2018

Have you tried using the 'custom' NuGet command to sign the package?


This comment has been minimized.

Copy link

doormalena commented Jun 11, 2018

Yes I ended up with a custom command. Nevertheless it would be nicer if this is available out of the box :-).

As a reference for others searching for the same answer:

  • NuGet Tool Installer task configured to install NuGet version 4.6.0
  • NuGet task configured with a custom command:
    sign $(Build.ArtifactStagingDirectory)/**/*.nupkg -CertificatePath $(Agent.WorkFolder)\_temp\CodeSigningCertificate.pfx -CertificatePassword $(CertificatePassword) -HashAlgorithm sha256 -Timestamper "http://timestamp.[SomeCertSupplier].com" -TimestampHashAlgorithm sha256

This comment has been minimized.

Copy link

alexmullans commented Jun 12, 2018

I've copied this to our internal backlog - thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.