Invalid value for 'AssemblyVersion' when trying to sign a clickonce assembly

roberto.huertas's Avatar

roberto.huertas

12 Oct, 2015 11:24 AM

I always get this error when I try to sign the assembly with my on certificate. If I skip the certification thing then everything works as expected and the builds takes place.

I've followed some post that I cannot seem to find in order to configure all: I created an environment variable with the pfx password secured, I pushed the pfx file to the repository and created a PS script but then I always get this Invalid value for AssemblyVersion error.

Do you have any idea of why this is happening?

Best regards,

Roberto.

  1. 1 Posted by roberto.huertas on 12 Oct, 2015 04:14 PM

    roberto.huertas's Avatar

    I've resolved it myself.

    It seems that you need a four digit version when you sign a clickonce app, so I changed it from 1.0.{build} to 1.0.0.{build} and it worked-

  2. Support Staff 2 Posted by Feodor Fitsner on 12 Oct, 2015 06:09 PM

    Feodor Fitsner's Avatar

    Great, thanks for the update!

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac