Addin Shared Libraries

Sep 27, 2011 at 8:49 PM

I am using System.Addin for .Net 3.5 Visual Studio 2008.

I have several addins which share the same set of libraries.  I would like to have a directory depository for the libraries instead of having to copy an instance of each addon.  Is there a way to do this without having to use the GAC (I cannot install on the user's machine).

Thanks, Wang

Sep 27, 2011 at 8:56 PM

Never mind I figured it out. 

IList<AddInToken> tokens = AddInStore.FindAddIns(typeof(IReport), DIRECTORY_PATH);
            _reports = new List<IReport>();
foreach (AddInToken token in tokens)

If you pass the current app domain, you pass the current references.