How to Get the Full Name of an Assembly

When developing for SharePoint, you sometimes need to find the full name for an assembly. You can do this inside of Visual Studio 2010/2013/2015 using PowerShell. It’s pretty straight-forward.

You also might need assembly full name for many reasons. Let me walk you through the steps

  1. In the Tools menu of Visual Studio, click External Tools.
  2. Tools-Menu1.png
  3. In the dialog, click Add to get a new tool.
  4.  tools-menu2
  5. Now, configure the tool with the following options:
    Title: Get Four-Part Name
    Command: powershell.exe
    Arguments: –command “[System.Reflection.AssemblyName]::GetAssemblyName(\”$(TargetPath)\”).FullName
    Use Output window: Checked
  6.  Tools-Menu3.png
  7. Click OK to dismiss the window.

Now, you can go into the Tools menu to see your tool. If you click it, it will print out the four-part name including the public key token in your Output window.




Tesfaye Gari

Leave a Reply


901 S Highland St Room 314
Arlington, Virginia 22204
Phone: (240) 547-6851

About MTM

MTM Training and Consulting is started by a group of highly qualified and motivated Information Technology Professionals to help you boost your IT career, and your company's productivity
Read More