There are times when we need to know the PublicKeyToken of our .NET assembly (i.e. when we develop workflows for Office SharePoint Server) and we can achieve that by installing the assembly to the Global Assembly Cache (GAC) or use a disassembler. But today, I found an easier way which is to use the sn.exe tool.
To return the PublicKeyToken of an assembly, issue the following command on a Visual Studio Command Prompt:
sn -T <assembly-name>
To return the Public Key together with the token, use the -Tp argument instead.
Popular Post
-
Think Global, the Norwegian electric car maker, has halted production of its electric City car, generating fears of a possible bankruptcy. ...
-
One of my favorite book is Erasure by Percival Everett. In it, a struggling, black literary writer (is there any other kind?) is so frustra...
-
Time: 6:50 a.m. Temperature: 46 degrees Meal: Biscuit and coffee Goal: To read through chapters, highlighting clunky and passive language. W...
-
As the cliche goes: I am over the Moon! And! And! You don't even need the Kindle device to read it. Go to the book's page on Amazon...
-
One of the proposals that Ferrari didn't liked... I have LOTS of them in fact.
-
S8 / 6.876 cc / 265 PS / 374 ft/lb (507 Nm) @ 2.000 / Vmax: 116 mph (187 km/h) (click images for a larger view)
-
The Original 1996 VW Golf Harlequin Art Car photo via A 1996 Volkswagen magazine ad said, “Can’t decide on a color? Try a Harlequin Golf.” T...
-
This is sweet, nice, cool etc.... Hannah Schneider performs a stripped down live version of recent single In The Line Of Fire in a (don...
-
Can't do much writing when it's hard to, like, swallow and your head feels like the USC Trojan band has just marched on your neck. S...
No comments:
Post a Comment