I’m trying to separate the functionality of a shared-add-in and a corresponding Ribbon (integrated through Ribbon Designer or XML in VS10). The solution context is build with several projects in which the add-in itself represents a host with an interface to another assembly that is loaded on runtime. In this assembly I want to get access to the callback methods of the Ribbon implemented in the shared-add-in (connect.cs). The MSProject2010-application I tried to inject the Ribbon is wrapped in that assembly to grant access to the instance of Project.
In the Host is a Startup()-Function that scans through all assemblies in a specific directory and integrates the one with the right interface. So, the AddIn_Startup(Params)-Function located in the assembly is called through the interface and here is the context, where I want to get access to my Ribbon-callbacks.
Now, how is it possible to route the Callbacks from the MSProject-application, through the shared-add-in into the assembly?
Another question: How is it possible to access a custom Ribbon through an external assembly? (Same environment)
Best regards