When I run proxgen I get the error: "ProxyGen.exe Error: 0 : Error: Static members are not supported by proxygen…."
For example:
C:\TestCode\WindowsApplication1\bin\Debug>proxygen /l:"windowsapplication1.exe"
/c:"Proxy.cs" /o:"Descriptor.xml"
ProxyGen.exe : ProxyGen.exe [Version 8.0.50727.117]
c Microsoft Corporation. All rights reserved.
ProxyGen.exe Error: 0 : Error: Static members are not supported by proxygen. Yo
u can still enable generation of WindowsApplication1.Properties.Settings.Default
by setting isExcluded=false in the descriptor.
ProxyGen.exe Information: 0 : Finished
ProxyGen.exe Error: 0 : 1 Errors
This error is to be expected and is documented in the proxygen walkthrough (ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.VSSDK.v80/dv_vstasdk/html/93980f10-3906-45fa-a44e-f03eaf1f70ff.htm):
Because Proxygen.exe does not support static members, you will receive several errors for any static members in ShapeAppCSharp. Do not modify the descriptor file to add the isExcluded=false attribute to these members. For more information about supported types, see Proxy Generation Tool (Proxygen.exe).
Posted
Sep 07 2006, 04:54 PM
by
Gary