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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kenneth Brubaker Sent: Saturday, January 11, 2003 12:37 PM To: [EMAIL PROTECTED] 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 - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
