How do you sign an assembly that was generated by an ILMerge operation?
-
22-08-2019 - |
Question
I managed to use ILMerge to merge all the assemblies I have in my project into a single assembly, but the problem is there doesn't seem to be a way to sign the merged assembly.
Is there some sort of command line option or command that I can run that would let me add a strong name to the merged assembly generated by ILMerge?
Solution
You need to use the following commandline to sign:
al /out:MyAssembly.dll MyModule.netmodule /keyfile:sgKey.snk
If you would like to learn more, please visit: http://msdn.microsoft.com/en-us/library/xc31ft41.aspx
OTHER TIPS
ilmerge ... /keyfile:key.snk
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow