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
-
Brabrand is the first solo recording by tung_nem frontman Martin Arnholt (as well as being a town in the outskirts of Arhus ) and publi...
-
S6 / 3.430 cc / 220 PS / 232 ft/lb (315 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 7,8 s / Vmax: 148 mph (238 km/h) (click images for a larger v...
-
Baker Street singer Gerry Rafferty dies at age of 63 . R.I.P.
-
The revival clearly continues apace at Jaguar - one of Britain's most historic and industrially important car manufacturers. Far from re...
-
that is the best investment I've heard of, this car was just bought for 8 million in 2000, and in 1996 for 3.5 million... it's also ...
-
The Fisker Coachbuild name meant nothing to me, but I'm not really an auto geek. We recently read that this premium automobile design ...
-
I have just released a work-in-progress version of my Layered Architecture Sample for .NET 3.5 . I have been toying with the .NET 3.5 techno...
No comments:
Post a Comment