Determine an Assembly’s Fully Qualified Name

While extending the Visual Studio development you might be working on an extension that would be using the fully qualified (4-part) name of an assembly.
Below are the simple steps to extend the visual studio
Open Visual Studio
Go to Tools –> External Tools
Click on “Add” to add a tool, and put in the following values:
Title: Get Qualified Assembly Name
Command: Powershell.exe
Arguments: -command “[System.Reflection.AssemblyName]::GetAssemblyName(“$(TargetPath)”).FullName”

When this menu item is selected (Tools->Get Qualified Assembly Name), the assembly name is given in the output window.
It should look like

MyApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c2534056547c8962

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s