Get PublicKeyToken with sn.exe

One way to get the PublicKeyToken is to use the sn.exe (strong name utility) that comes with .NET Framework.

Open the command prompt and change directory to directory that contains sn.exe. Type the following command to get the PublicKeyToken of your dll file.

sn -T yourdirectory\yourwebpart.dll

0 comments: