Reputation: 4938
Is there a way to create a strong-named assembly using CSharpCodeProvider?
Upvotes: 2
Views: 2183
Reputation: 6116
You could also specify the /keyfile: option in the CompilerOptions property of the CompilerParameters you send to the CSharpCodeProvider when compiling.
Upvotes: 3
Reputation: 3156
See SN.EXE ( http://msdn.microsoft.com/en-us/library/k5b5tt23(VS.80).aspx ). You'll have to execute that on your assembly pointing to a key file to do the signing.
Upvotes: 1