VSConstants.OLE_E_WRONGCOMPOBJ Field
Visual Studio 2010
The versions of COMPOBJ.DLL and OLE2.DLL on your machine are incompatible with each other.
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.