When I try to compile my extra VSTO Outlook, I get this error:
A reference to the 'RibbonBase' class is not permitted when its assembly is linked using No-PIA mode
It is impossible to complete the seam to find a solution for it on the Internet.
Any idea?
Thank! Mojo
Some COM libraries, including this one, do not support No-PIA mode.
Change Embed Interop Typeto false in link properties.
Embed Interop Type
, , , RibbonBase, , Access, , , , , RibbonBase.
CLASS, . " , No-PIA" http://msdn.microsoft.com/en-us/library/h8c469ey.aspx, , .
- , ( ), .
Access ControlClass, "Control" ( ), .
, , , SLaks, , , , , Interop , , , ( ), Interop. , "RibbonBase".
Source: https://habr.com/ru/post/1770527/More articles:How can I end an action from a SurfaceView class or nested stream - javaToken interface that implements two or more other interfaces - interfaceHow to declare a variable that contains a subclass of a class that implements an interface? - javaKML for SqlGeography - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1770526/grouping-keyvalue-pairs-to-dictionary&usg=ALkJrhj4-B4F6QWef-7mP5N9FdhjQcBLpgHow do you write unit test for a regex pattern? - regexПолучить последовательность установки объектов Oracle - plsqlHow to check if two XML files are equivalent with Python? - pythonGet json value using string - jsonHow to programmatically display a partitioned matrix in Mathematica? - wolfram-mathematicaAll Articles