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
-
Writing is hard. Writing for an agent is even harder. Writing for an editor considering your book but wanting a rewrite first is like climbi...
-
Intro Ahh... My new blog spot. Loke Uei from Microsoft Malaysia has recommended me to blog here as he can't stop laughing at me for blo...
-
Golden Dream Rolls Royce with Hemmy - by Ivan Mitev Photography I stumbled upon this ostentatious golden beauty tonight and had to put it up...
-
My best mooncake award for this year goes to Baker's Cottage 's snow-skin yam mooncake! Absolutely yummy! But mom prefers her Cosway...
-
Complacency - a word usually used to describe folks who take it too easy at work and to some extent, not motivated to do better beyond '...
-
Photo: Diane Edwardson, November 1, 2011. Cat skull. (Click on photo to enlarge.)
-
I t has been one month now since I've joined Microsoft and you must be wondering how am I doing? I'm doing great at the moment and ...
-
I'm a little demotivated lately with the type of work that I'm assigned to. I feel that my skills and talents are not fully utilized...
-
One of the proposals that Ferrari didn't liked... I have LOTS of them in fact.
-
Regular readers will remember that last month we reported with fury and disbelief the upswing in recorded users of pedal cycles in Aberdeen...
No comments:
Post a Comment