Rubans
Rubans

Reputation: 4488

How to sign an assembly using devenv.com

HI, Have a build process using devenv.com that will compile c# code into assemblies and this works as expected. However I want to sign the assembly built using a key which I already have, is this possible? I want to intergrate this into to the build process, do I need to use al.exe ? Any ideas?

Upvotes: 1

Views: 314

Answers (3)

Thomas Levesque
Thomas Levesque

Reputation: 292685

You need to use sn.exe, with the -R option

Re-signs a previously signed or delay-signed assembly with the key pair in infile. If -Ra is used, hashes are recomputed for all files in the assembly.

Upvotes: 0

Rune Grimstad
Rune Grimstad

Reputation: 36340

I think the program you are after is sn.exe. This is used to sign an assembly using a strong name. See the msdn documentation here.

Upvotes: 1

Scott Arrington
Scott Arrington

Reputation: 12513

I think what you're looking for is sn.exe, the strong name tool.

Upvotes: 1

Related Questions