visual studio 2010 - VS2012 .NET 4.0 Clickonce VSTO CryptographicException: SignatureDescription could not be created for the signature algorithm supplied -
i have vs2010 .net 4.0 vsto outlook addin project wish migrate vs2012 (but keep in .net 4.0). compiles fine, , runs inside ide fine, when attempt run published clickonce installer, following exception:
system.deployment.application.invaliddeploymentexception: exception reading manifest file://mypath/myaddin.vsto: manifest may not valid or file not opened. ---> system.deployment.application.invaliddeploymentexception: manifest xml signature not valid. ---> system.security.cryptography.cryptographicexception: signaturedescription not created signature algorithm supplied.
based on tests , online research (here , there), appears having vs2012 installed on machine (whether publish vs2010 or vs2012) forces clickonce installer require sha1 certificate when using .net 4.0. existing sha256 certificate works fine .net 4.0 when compiled using vs2010 (without vs2012 installed).
- i can't upgrade clients .net 4.5 because vsto40 project (runs on xp/office 2007).
- i can't uninstall vs2012/.net 4.5 on local machine because have other projects need it.
- i can't easily downgrade certificate sha256 sha1.
are there other suggestions allow me move forward?
i had exact same error message , using vs 2013, .net 4.5, , signing correctly sha256.
finally, found older version of vsto 2010 runtime installed (10.0.40303). once updated 10.0.40820 worked fine. hope helps someone, drove me absolutely bonkers days trying figure out going on.
Comments
Post a Comment