Outlook Ribbon Load Inspector.CurrentItem is null
问题 Overview I have an Outlook add-in created with VSTO. The add-in has a single ribbon (visual designer) for the Mail.Compose ribbon type. The ribbon tab ControlIdType is set to "Custom". The only code in the add-in other than designer code is the following Load handler for the ribbon. this.Context.CurrentItem is unexpectedly returning null. Code private void RibbonComposeMail_Load(object sender, RibbonUIEventArgs e) { try { var inspector = this.Context as Outlook.Inspector; if (inspector ==