[Mono-devel-list] mono on windows and System.Web.Mail
A Rafael D Teixeira
rafaelteixeirabr at hotmail.com
Wed Jun 23 14:05:45 EDT 2004
Probably you didn't instruct the compiler to reference de assembly that
contain the classes you need which is System.Web.dll in your case. Try:
mcs /r:system.web.dll mailer.cs
"mcs --help" shows the lot of options the compiler understands and sometimes
requires.
Also the documentation page in monodoc (or in the site) for the any class
has those important but totally different pieces of information: the
namespace where it is defined and the assembly where it resides.
It would be nice from your part if you could read our FAQ, and the class
documentation for the classes you are going to use, and the man pages or
--help screens of the tools you are trying to use before posting such
questions.
Best regards,
Rafael "Monoman" Teixeira
Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
MonoBrasil Founding Member - Membro Fundador do MonoBrasil
http://monobrasil.softwarelivre.org
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
>From: "Joeri Belis" <joeri.belis at nollekens.be>
>To: <mono-devel-list at lists.ximian.com>
>Subject: [Mono-devel-list] mono on windows and System.Web.Mail
>Date: Wed, 23 Jun 2004 09:29:00 +0200
>
>I installed mono beta 3 on windows and tried to compile a program that uses
>
>using System.Web.Mail;
>
>I get the following error:
>
>C:\temp>mcs mailer.cs
>mailer.cs(3) error CS0246: The namespace `System.Web.Mail' can not be found
>(missing assembly reference?)
>Compilation failed: 1 error(s), 0 warnings
>
>Tried it on linux too and got the same error.
>what did i do wrong?
>
>Joeri
>
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br
More information about the Mono-devel-list
mailing list