Signing 3rd Party Assemblies
2010/01/01
Tags:
FxCop wants all assemblies in your project to be signed. Sometimes though you have to work with 3rd party assemblies that aren’t signed. If you can contact the developer of the component, ask them to sign it. Most of the time they won’t mind.
The they’re not willing or able to and you have access to the source code, you can sign it yourself and recompile.
If you don’t have access to the source code follow these steps:
- Disassemble the assembly using: ildasm /all /out=TheAssembly.il TheAssembly.dll
- Reassemble the assembly with a signed key: ilasm /dll /key=TheAssembly.snk TheAssembly.ilThat should work fine for most scenarios.
See here for more info.
No comments have been posted yet