TwitterLinkedInBlog

Monday, August 23, 2010

VS2010 - Sahil Malik - Strong Name

Reference: Sahil Malik's blog: http://blah.winsmarts.com/2009-12-SharePoint_Productivity_Tip_of_the_day.aspx

This is an improvement over the sn.exe technique which only give you the public key token. Sahil's technique gives you output you can copy and paste directly into an assembly attribute.

Visual Studio > Tools > External Tools > Add > Title: S&trong Name; Command: Powershell.exe; Arguments: -command "[System.Reflection.AssemblyName]::GetAssemblyName(\"$(TargetPath)\").FullName"; Use Output Window: Check > OK.

No comments: