Wednesday, December 19, 2012

SharePoint: Finding assembly public key token value

Scenario: Sometimes when you are working with building custom solutions in SharePoint, before you deploy the solution binaries to GAC. You need to know the public key token.

Solution: To find public key token follow below steps:
1. Open visual studio command prompt
2. Navigate to "bin\debug" directory of the current solution
3. Type :-
    Sn  -T  Yourdllname.dll