C# 在WinCE5中使用web服务
我用WINCE5(c#2.0)编写了一个程序,希望与同样用c#2.0编写的web服务进行交互 但当我使用WSDL实用程序生成Service.cs并像往常一样在CE项目中引用它时。我发现我无法通过编译,原因是:C# 在WinCE5中使用web服务,c#,C#,我用WINCE5(c#2.0)编写了一个程序,希望与同样用c#2.0编写的web服务进行交互 但当我使用WSDL实用程序生成Service.cs并像往常一样在CE项目中引用它时。我发现我无法通过编译,原因是: The type or namespace name 'AsyncCompletedEventArgs' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly ref
The type or namespace name 'AsyncCompletedEventArgs' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)
您可能知道,.NET Compact framework中有一些不同之处。但是谁能告诉我如何解决这个问题呢?看这里:非常感谢。我在VSIDE中添加引用,并使用对象浏览器公开它,而不是使用wsdl生成代理。看起来不错。谢谢你,完美的答案。