0

I am developing 2 seperate Outlook Addins using the VSTO project type in Visual Studio 2022 (C# .Net 4.7.2) and wish them to appear under the same Ribbon UI.

Is this possible at all?

From the reading I've done I'm not sure it is.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
AwkwardCoder
  • 24,893
  • 27
  • 82
  • 152

1 Answers1

3

You may need to use qualified id to identify the shared items (such as tabs) in your XML (and use the same "qualified id" in both add-ins). Note idQ instead of id:

<tab idQ="mycompany:SharedTab" label="Shared Tab">

I don't think Visual Studio ribbon designer supports this (?), so you may need to go with XML directly (click the "Extract Ribbon XML" and then follow the instructions to switch to plain XML ribbon definition)

Nikolay
  • 10,752
  • 2
  • 23
  • 51