If you work with Sharepoint then most probably quite often you need to know assembly full name (e.g. for adding it to the Assembly directive on your application layout page). Until the recent time preferred way for me to investigate assembly full name was .Net Reflector: load assembly under question in it and check full name in the bottom of the window:
However as you probably know Red gate announced that starting from version 7.0 Reflector will be payable. They leave version 6.8 as last version available for free. However I was a bit surprising when didn’t find this feature in version 6.8:
May be I missed something but I didn’t find how to enable this feature in v.6.8. Or it was made intentionally in order to attract more users to the new version – I don’t know. And although I personally don’t like idea to make Reflector payable, I won’t claim to the Red gate. I just wanted to find a workaround for the missing functionality using built-in tools.
Of course you can go to the GAC (C:\Windows\assembly) and check properties of the assembly:
Then combine full name from file name, version, culture and public key token. However this way is not very convenient. The better way is to copy full name at one operation.
It can be done with PowerShell – built-in script engine in Windows. Go to Start and type PowerShell in the “Search programs and files”. Then add one line of code:
It will print full name of the assembly into the console. Also you can use path to the GAC:
May be this method is not so convenient as graphic UI tool, however it doesn’t require neither installation of external software nor development of custom tool. Hope it will be helpful. If you will find more easy ways to investigate assemblies full names it will be cool if you will share it in comments to this post as well.