How is your token?

So after signing my newly created assembly I need the PublicKeyToken for various reasongs … so how would be the best way to get this?

One way would be to deploy the assembly to the GAC and then look at the properties – there you’ll find the token. a little more smooth is this approach:

sn.exe -T <AssemblyName>

This assumes you started a shell with your Visual Studio Tools in the path …

Leave a Comment.