Is there a way to create a strong-named assembly using CSharp开发者_StackOverflowCodeProvider?
You could also specify the /keyfile: option in the CompilerOptions property of the CompilerParameters you send to the CSharpCodeProvider when compiling.
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.
精彩评论