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
-
T he official release of Web Service Software Factory is now available for download . Service Factory is an integrated collection of tools, ...
-
That is a barn, sometimes they are easy to distinguish, and sometimes, they look like a lot of wood in a vague pile that might have space u...
-
I'm stil revisiting old sketches but this time i took a very old sketch, from two years ago that i made before coming to italy.
-
V8 / 5.461 cc / 525 PS / 515 ft/lb (700 Nm) @ 1.750 - 5.000 / twin turbo / 0 - 62 mph (100 km/h): 4,4 s / Vmax: 155 mph (250 km/h) AMG Per...
-
Morning, Friends! If you haven't checked out Kindle Fire Department yet and you own a Kindle Fire, you are not human. I'm TELLING YO...
-
I nternet Explorer 7.0 Beta 3 is now available . Now the tabs can be rearranged ;)
-
A fter a week in Seattle, I'm finally home today. Yeah man! After so many days of croissants, ham, scrambled-eggs and cereals, I'm d...
-
Costco, the big box retailer, has for over a decade been the business with more electric vehicle charge stations in more places around Calif...
-
Step one is admitting you have a problem. So here goes: I am a book junkie. I love books. I buy them whenever I can. They are the only thing...
No comments:
Post a Comment