How to: Share an assembly with other applications

Assemblies can be private or shared: by default, most simple programs consist of a private assembly because they are not intended to be used by other applications.

In order to share an assembly with other applications, it must be placed in the global assembly cache (GAC).

To share an assembly:

  1. Create your assembly. For more information, see Create assemblies.

  2. Assign a strong name to your assembly. For more information, see How to: Sign an assembly with a strong name.

  3. Assign version information to your assembly. For more information, see Assembly versioning.

  4. Add your assembly to the global assembly cache. For more information, see How to: Install an assembly into the global assembly cache.

  5. Access the types contained in the assembly from other applications. For more information, see How to: Reference a strong-named assembly.

See also