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

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. 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. 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