Assigning a strong name to a third party DLL using your visual studio command prompt.
E.g.
Lets say the name of the third party DLL is myTest.dll.
Step 1: Dis-assemble the assembly, as we have to asign the strong name for DLL
ildasm myTest.dll /out:myTest.il
Create a Strong Name:
sn -k myTest.snk
Step 2: Re-Assemble using your strong-name key
ilasm myTest.il /res:myTest.res /dll /key:myTest.snk /out:myTestSN.dll
for verification you can use following command,
sn -vf myTestSN.dll
No comments:
Post a Comment