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
-
Photo: Diane Edwardson, January 26, 2011. The Red Tailed Hawks have been refurbishing their nest at the corner of Rosebud & Allesandro,...
-
With only four days remaining until the end of the current contract between the Canadian Auto Workers’ union (CAW) and the Detroit's Big...
-
Photos of a prototype Sideways Capri. The production (Wurth decoration) car should arrive within a month or two here in North America. See m...
-
This Mule has found its self strapped down with an entirely new type of load. A brand new crazy car stereo system.
-
London Low Sense Zone The likely harmful effect on Londoners' health of Livingstone's policy of piling more and more buses onto Lond...
-
A bit of video from last weekend's Racer Resin Regional race at Great Traditions in Philadelphia.
-
Fisker has been through a lot lately – and we're not only talking about its financial issues but more about the Karma-related recalls ...
-
Bloomberg News reports: "At the conclusion of Wagoner's speech today, two activists with the environmental group Jumpstart Ford, w...
-
You can be sure that whenever Mercedes-Benz presents a new model, the tuning crew at Brabus will follow up with a package of aftermarket goo...
No comments:
Post a Comment