This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
ImportAddinAssemblyAttribute
Caleb Morris edited this page Nov 3, 2015
·
2 revisions
Home > Reference Manual > Description of Add ins and Add in Roots > Description models > ImportAddinAssemblyAttribute |
---|
An attribute used to declare that a particular assembly needs to be imported for use in this add-in.
This is useful when an add-in depends on several non-add-in assemblies.
Below is an example add-in that references (project, nuget, system, etc.) an external library.
In this case the add-in ExampleAddin contains a reference to ExternalLibrary.dll. This will cause mdtool
to package the dll into the add-in package during packing.
// AddinInfo.cs
using Mono.Addins;
[assembly:Addin (
"ExampleAddin",
Namespace = "ExampleAddin",
Version = "0.0.1"
)]
[assembly:ImportAddinAssembly("ExternalLibrary.dll")]
- Extension Points and Extensions
- Querying Extension Points
- Type Extension Metadata
- Data-only Extension Points
- Data Files and Resources
- About Lazy Loading
- Thread Safety
- The Add-in Registry
- Addin Discovery
- Creating and Managing Add-in Packages
- Advanced Concepts