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
-
V12 / 5.748 cc / 515 PS / 434 ft/lb (589 Nm) @ 5.250 /0 - 62 mph (100 km/h): 4,2 s / Vmax: 202 mph (325 km/h) (click images for a larger v...
-
Ron Dennis is dead serious about everything he does. This is what has made McLaren a front-runner in Formula 1, filling its cabinets with c...
-
S4 / 1.984 cc / 200 PS / 207 ft/lb (280 Nm) @ 1.700 - 5.000 / turbo / AWD (click images for a larger view)
-
No technical specification available (click images for a larger view)
-
The human tides which inhabit the HMO's of Aberdeen's Broomhill Road are a constant source of trouble to their entrepreneurial landl...
-
Pallers has finished recording their debut album and according to the Labrador webpage it will be out on September 20. A certain band s...
-
Survivors Of Gas Station Explosion Mourn Tragic Loss Of Gasoline
-
Photo: Russell Bates, 2010. Red Car Property neighborhood beekeepers in LA Times. (Click on photo to enlarge.)
-
Ladies and Gentlemen, what you see here is in fact NOT the much talked about 2014 Chevrolet Corvette C7. Though don't worry as there is ...
-
Are you running behind on creating a mutant vehicle for this years Burning Man event? Not to worry because this little electric pimp my roc...
No comments:
Post a Comment