views:

14

answers:

1

Hi,

When I try to compile my VSTO Outlook addin, I get this error:

Reference to class 'RibbonBase' is not allowed when its assembly is linked using No-PIA mode

Can't seam to find a solution to it online.

Any idea?

Thanks! Mojo

+1  A: 

Certain COM libraries, including this one, do not support No-PIA mode.

Change Embed Interop Type to false in the properties of the reference.

SLaks