Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Share an Assembly with Other Applications (C# Programming Guide)

Assemblies can be private or shared: by default, most simple C# 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).

Sharing an assembly

  1. Create your assembly. For more information, see Creating 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 the other applications. For more information, see How to: Reference a Strong-Named Assembly.

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft