[Mono-list] Problen with Web Services Example

mobility kbuckham at applocation.net
Thu Oct 23 02:12:56 EDT 2008


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-tp20124391p20124391.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list