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.  









Cheers,
--Aaroh

Reference: MindSharpBlogs

No comments:

Low Code Reimagined with AI + Copilot Pitch Deck - Copy Copilot day (Virtual) - 2023

 Hi All,  I presneded a session at Pune UG on Low Code Reimagined with AI + Copilot Pitch Deck.  Video is at this address  https://www.youtu...