1

When creating a RibbonExtensibility class for, say, adding custom context menu buttons, is there some way in VS to debug whether the XML you are returning in GetCustomUI is actually valid?

For example, if my XML tries to use a non-existent idMso, I'd like VS to inform me of this somehow.

davex_
  • 148
  • 1
  • 8

2 Answers2

2

You need to enable addin error reporting in Outlook: File | Options | Advanced | Developers | Show add-in user interface errors.

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78
1

See How to: Show Add-in User Interface Errors in MSDN.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45