I would like to share with you a very eazy way to get the fully qualified assembly name using Visual Studio. It uses the external tools feature of 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"
- Check "Use Output Window". All other checkboxes should be unchecked
When this menu item is selected, the assembly name is given in the output window.
It should look like HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b2135059549c7590
Thanks, really good one :)
ReplyDeleteThank you Sir......
ReplyDelete