Tuesday, January 5, 2010

How to: Get the "PublicKeyToken" from the compiled assembly

Hi all,

While developing and compiling, we need Public key token for obtaining the assembly information. There are easy to obtain the "Public Key Token"

Step1) Open Visual Studio >> Tool >> External Tools.

Step2) Hit the "Add" button and enter all the details:

Command:  C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\sn.exe
Arguments: -Tp "$(TargetPath)"

Click on "OK" button.

Step3) Go to tools menu and we can see the "Get Public Key Token".

Step4) Build the solution, go to "Tools" menu and select the "Get Public Key Token". The "output" window will print out as shown below.  


Reference: MindSharpBlogs

No comments:

How to display Sharegate administrative dynamic reports via Power BI on SharePoint Online

After working in the SharePoint domain for a couple of years as SharePoint consultant , I am fortunate enough to help customers from man...