Monday, May 02, 2005
« Timesaving Shortcuts | Main | Just a Little Redirection... »

I need to do this all the time, yet I invariably forget and spend a few minutes re-figuring it out (and feeling really stupid everytime), only to forget it the next time I need to do it.

If you have an assembly and need to get the PublicKeyToken for one reason or another, the easiest way that I know of is to use the sn.exe (Strong Name Utility) with the -T switch.

sn -T SomeFancySchmancyLibrary.dll

There...now maybe I won't forget it anymore.  Why do some things just not stick?

Monday, May 02, 2005 1:17:00 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [15]  |  Trackback