[Mono-list] error CS0246: The namespace `System' can not be found
Daniel Morgan
danmorg@sc.rr.com
Sat, 11 Jan 2003 12:48:02 -0500
You could try using the -lib: switch to include the library path to your
assemblies like System.dll, etc...
mcs xxx.cs -lib:c:/mono-0.17/install/lib
You could try the following too:
in the Windows control panel, set the PATH environment variable to your
X:\mono\install\lib and your X:\mono\install\bin paths
setting LD_LIBRARY_PATH to your X:\mono\install\lib path may help too
-----Original Message-----
From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
Behalf Of Kenneth Brubaker
Sent: Saturday, January 11, 2003 12:37 PM
To: mono-list@ximian.com
Subject: [Mono-list] error CS0246: The namespace `System' can not be
found
Problem:
When I run mcs.bat ... xxx.cs I get "
error CS0246: The namespace `System' can not be found". How do I resolve
this?
Context:
I downloaded and installed 0.17 on Windows 2000.
Command Line:
E:\Development\ClaveCode\Builds\2003-01-10\Enterprise\Configuration>mcs.bat
-out:..\..\bin\Mono\Debug\ClaveCode.Enterprise.dll -target:library -unsafe-
-warnaserror+ -warn:4 ConfigurationDB.cs
Output:
ConfigurationDB.cs(1) error CS0246: The namespace `System' can not be found
(missing assembly reference?)
Comments:
Probably something simple, but I haven't found anything in "Beginning" or on
a google of this mailing list. I tried executing from where the *.cs file is
and where corlib.dll is. I tried referencing both corlib.dll and
system.dll.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
Mono-list maillist - Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list