http://buffered.io/posts/net-fu-signing-an-unsigned-assembly-without-delay-signing offers the detailed steps to disassemble and reassemble an assembly:
- use ildasm.exe to disassemble into .il file
- if another assembly that this one references is just modified and signed using this method, need to modify the reference in this assembly with the public key added.
- rename the original assembly file .dll to something else so it's not overwritten by the next step.
- use ilasm.exe to re-assemble the .il file into .dll
And that's it! Now the assemly is strongly named.
1 comment:
Your post is so interesting. and it is more useful and helpful for me. Thanks for share this valuable post.
Post a Comment