ProxyGen v2 only deals with public methods. If you wish to expose a method to VSTA it must be public, not internal.
For example, the Application.ShowDrawingMenu method of the ShapeAppBasicCSharp sample does not appear in the descriptor or proxy files.
From the SDK section "Architecture of Generated Proxy Code":
"The proxy types contain all public members and explicitly implemented members of the host type."
Note: Please use the on-line documentation, not the documentation included with SDK. The on-line documentation includes important updates, although these updates are not specific to this issue. The on-line documentation can be found on the MSDN site.
Posted
Jun 02 2009, 08:59 AM
by
BillL