You can introduce new contract between two Add-ins without introducing it to Host. Let me explain how you can achieve it ….say you have a Host H1 and an Add-In A1 and there is a
pipeline P1 that works between H1 and A1.
Normally the structure would look like this
Now we will talk about your scenario (What is my understanding…)
You want a new Add-In say A2, Which should work with A1 only. You can simply follow following simple steps to achieve this
- Create a new Add-in A2.
- Create a new pipeline P2
- A1 would act as a Host for A2, so give the reference of HostView of P2 (a pipeline element) to A1.
- A2 would act as a Add-in for A1, so give the reference of AddinView of P2 (also a pipeline element) to A2.
Project structure would look like
I think you would be able to understand what I am trying to say. Please let me know if you still have any problem.