title: VSTO Outlook Addin Ribbons not loading properly
body: <p>I'm currently reparing an Outlook VSTO Addin. The project contains 4 ribbons with their respective Ribbon Type:</p>
  <ul>
  <li>CrmAppointmentRibbon.cs -&gt; Type: Microsoft.Outlook.Appointment</li>
  <li>CrmEmailNewRibbon.cs -&gt; Type: Microsoft.Outlook.Mail.Compose</li>
  <li>CrmEmailReadRibbon.cs -&gt; Type: Microsoft.Outlook.Mail.Read</li>
  <li>CrmEmailRibbon.cs -&gt; Type: Microsoft.Outlook.Mail.Explorer</li>
  </ul>
  <p>So when Outlook opens, the method ThisAddIn_Startup is called to initialize the Addin and I'm getting the ribbon collection as follows:</p>
  <pre><code>ThisRibbonCollection ribbonCollection = Globals.Ribbons[Globals.ThisAddIn.Application.ActiveInspector()];
  </code></pre>
  <p>So the ribbonCollection contains the 4 ribbons but there is a mismatch concerning the class type of the CrmEmailRibbon variable of the ribbonCollection. When I do</p>
  <pre><code>ribbonCollection.CrmEmailRibbon
  </code></pre>
  <p>It returns the CrmEmailReadRibbon instead of CrmEmailRibbon. So the CrmEmailReadRibbon is returned twice. It's the same ribbon returned from this two calls:</p>
  <pre><code>ribbonCollection.CrmEmailRibbon
  ribbonCollection.CrmEmailReadRibbon
  </code></pre>
  <p>The first call should return its associated ribbon reference: CrmEmailRibbon.
  Because of that I cannot access to the groups and buttons of the CrmEmailRibbon...
  Did somebody encounter this behaviour ?</p>