My colleague deploy a dll and he signed with the key generated on his machine.Right now I need to use the DLL in my project, so I need to resign the DLL, I generate a key pair on my computer, then try to resign it with sn.exe -R or sn.exe -Vr , but always failed.
Is it possible to resign a signed .net dll with a different key pair?
Thanks in advance !
See: How to sign a .NET Assembly DLL file with a Strong Name?
Ryan Farley's linked article suggests:
disassemble the DLL to IL and then reassemble the IL back into a DLL and include the new key file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With