B
Buthrakaur
Hello,
I just tried to sign my assemblies with my newly generated
certificate, but I get just error message when compiling the assembly.
I was following this article: http://www.codeproject.com/useritems/signcode.asp
, generated my certificate with blank password and afterwards used the
*.pfx file for signing in the VS project settings.
The error message:
genasm.exe(1) : error There was an error initializing . Invalid
public key of assembly (HRESULT: 0x8013141E)
I also tried to generate new pfx certificate file directly from VS
project options dialog, but the compiler exception persists. Is there
any method how to get the signing working?
I used a snk file succesfully before, but I need to create the
provisioning file for WM devices and didn't found any method how to
get public part of the certificate to be able to get the SHA and
base64 values for building _setup.xml provisioning file. Is there any
method how to install certificate from a snk file on the device?
And another question - I created some helloworld application which I
was able to sign in VS and compile succesfully. The output exe file is
but without any signed certificate. The only working method is using
the signtool.exe utility, which will really sign the assembly and add
the certificate to the end of file (it is visible in HEX-editor). Is
the sign dialog in VS just for strong name signing and not for code
signing?
I just tried to sign my assemblies with my newly generated
certificate, but I get just error message when compiling the assembly.
I was following this article: http://www.codeproject.com/useritems/signcode.asp
, generated my certificate with blank password and afterwards used the
*.pfx file for signing in the VS project settings.
The error message:
genasm.exe(1) : error There was an error initializing . Invalid
public key of assembly (HRESULT: 0x8013141E)
I also tried to generate new pfx certificate file directly from VS
project options dialog, but the compiler exception persists. Is there
any method how to get the signing working?
I used a snk file succesfully before, but I need to create the
provisioning file for WM devices and didn't found any method how to
get public part of the certificate to be able to get the SHA and
base64 values for building _setup.xml provisioning file. Is there any
method how to install certificate from a snk file on the device?
And another question - I created some helloworld application which I
was able to sign in VS and compile succesfully. The output exe file is
but without any signed certificate. The only working method is using
the signtool.exe utility, which will really sign the assembly and add
the certificate to the end of file (it is visible in HEX-editor). Is
the sign dialog in VS just for strong name signing and not for code
signing?