Thursday, January 13, 2011

How to Get the Fully Qualified Name of a .NET Assembly

In .NET, when referencing satellite assemblies it is generally best practice to use an assembly’s fully qualified name, which includes the name, version number, culture and public key token.

The easiest way I have found to determine the fully qualified name of an assembly is to simply drop it into Red Gate’s .NET Reflector, select it, and check the information displayed at the bottom of the window.

Besides the assembly name, the rest of the elements in a fully qualified name are optional, but including them can help to secure your applications.

No comments: