tag:help.appveyor.com,2012-11-13:/discussions/problems/3253-invalid-value-for-assemblyversion-when-trying-to-sign-a-clickonce-assemblyAppVeyor: Discussion 2018-08-25T02:01:00Ztag:help.appveyor.com,2012-11-13:Comment/381657892015-10-12T11:24:15Z2015-10-12T11:24:19ZInvalid value for 'AssemblyVersion' when trying to sign a clickonce assembly<div><p>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.</p>
<p>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.</p>
<p>Do you have any idea of why this is happening?</p>
<p>Best regards,</p>
<p>Roberto.</p></div>roberto.huertastag:help.appveyor.com,2012-11-13:Comment/381657892015-10-12T16:14:46Z2015-10-12T16:14:46ZInvalid value for 'AssemblyVersion' when trying to sign a clickonce assembly<div><p>I've resolved it myself.</p>
<p>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-</p></div>roberto.huertastag:help.appveyor.com,2012-11-13:Comment/381657892015-10-12T18:09:45Z2015-10-12T18:09:45ZInvalid value for 'AssemblyVersion' when trying to sign a clickonce assembly<div><p>Great, thanks for the update!</p></div>Feodor Fitsner