I'm getting the same error:
error CS0234: The type or namespace name `AsyncCompletedEventArgs' does not exist in the namespace `System.ComponentModel' I'm trying the example WebService project over at The Code Project Website: http://lamp.codeproject.com/KB/webservices/MonoStockInformation.aspx wsdl writes the cs document no problem: $ wsdl http://www.webservicex.net/stockquote.asmx?wsdl Web Services Description Language Utility Mono Framework v2.0.50727.42 Writing file 'StockQuote.cs' But the cs file fails to compile, sigh $ mcs /target:library StockQuote.cs -r:System.Web.Services StockQuote.cs(71,73): error CS0234: The type or namespace name `AsyncCompletedEventArgs' does not exist in the namespace `System.ComponentModel'. Are you missing an assembly reference? Compilation failed: 1 error(s), 0 warnings mobility wrote: > > > I'm a newbie with Mono, so please bear with me. > > After installing a fresh version of Mono 2.0, I tried following the > instructions at: > http://www.mono-project.com/Web_Services > > It is all fine, until I run "mcs /target:library GoogleSearchService.cs > -r:System.Web.Services". > > This fails with: > > GoogleSearchService.cs(475,80): error CS0234: The type or namespace name > `AsyncCompletedEventArgs' does not exist in the namespace > `System.ComponentModel'. Are you missing an assembly reference? > GoogleSearchService.cs(494,85): error CS0234: The type or namespace name > `AsyncCompletedEventArgs' does not exist in the namespace > `System.ComponentModel'. Are you missing an assembly reference? > GoogleSearchService.cs(513,79): error CS0234: The type or namespace name > `AsyncCompletedEventArgs' does not exist in the namespace > `System.ComponentModel'. Are you missing an assembly reference? > Compilation failed: 3 error(s), 0 warnings > > Well it looks like it needs an assembly reference that provides > "System.ComponentModel". However that looks like it should be provided by > System. I have tried modifying the command line to include "System" with > no luck and "System.ComponentModel" is a non starter. > > Suggestions? > > Thanks! > > -- View this message in context: http://www.nabble.com/Problen-with-Web-Services-Example-tp20124391p20295760.html Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
