Tuesday, January 5, 2010

How to find public key token for a .NET DLL or assembly

Here is a nice information from following blog:


The command is: sn.exe -T
Please notice the captial T.

I added this in the external tools to make it quick.
Go to Tools->External Tools-> Add
"Find Public Key Token"

Command = C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe

Arguments = -T $(TargetPath)

Notice that the sn.exe is inside VS 8 - even though you may have VS 9 for 2008.

No comments:

Post a Comment