Public Token key for the assembly

Scenario:
Sharepoint require most of the assemblies to be strongly named and referenced using 4 part name of the assembly.

Solution:
You can use sn.exe utility to get the public token key for your assembly

Code:
     "C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\sn.exe" -T MyAssembly.dll  

or  
  
     "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\sn.exe" -T MyAssembly.dll  

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Unlock the SharePoint site using Powershell command