[Mono-list] Testing SmtpSend

Paolo Molaro lupus@ximian.com
Tue, 11 Jun 2002 14:17:48 +0200


On 06/11/02 [A]ndy80 - Andrea  Grandi wrote:
> > 	mcs -r System.Web.dll send_mail.cs
> 
> I get this now:
> 
> [shady@piccoli cs]$ mcs -r System.Web.dll send_mail.cs 
> error CS0006: Can not find assembly `System.Web.dll'

The argument to the -r option of mcs can be either a filename
or an assembly name. System.Web.dll is not an assembly name, so mcs
tries to load the file and fails (no System.Web.dll file in the current
dir). If you use the assembly name (System.Web) the runtime and mcs will
look for it in the search directories and in the directories specified
with -L.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better