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
-
Reva, the Indian electric car company best known for the G-Whiz in England, has signed a deal to bring their new product to Iceland with sal...
-
If you have been using Visual Studio 2013 for a while, you will notice that it behaves differently from previous versions of Visual Studio ...
-
Often, when we work with Windows Workflow Foundation (WF), we may encounter scenarios where our workflows may end up in an erroneous suspen...
-
Victor Uribe Portfolio 2011 Updated
-
"Having many red indians is better than one chief". That's the statement most C*O lived-by today in Malaysia. That's also...
-
When deploying applications to The Cloud (on Windows Azure), we have a choice in storing our data in Windows Azure Storage or SQL Azure. For...
-
This is the final part of the 7-series tutorial on Layered Architecture Solution Guidance 2013 . In this walk-through, we will be looking a...
-
Most developers when developing Windows Communication Foundation (WCF) services, will take security for granted and deploy their web service...
-
V8 / 3.499 cc / 205 PS / 209 lb/ft (285 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 10,3 s / Vmax: 127 mph (205 km/h) (click images for a larger vi...
-
W as busy learning how to customize web pages on a SharePoint site and developing webparts for the past two weeks. As you know, I'm not...
No comments:
Post a Comment