[Mono-list] Very new to Mono

dcochran cochran57 at gmail.com
Tue Mar 30 07:49:37 EDT 2010


I have just built and installed Mono 2.6.3 on Solaris.

dcochran> mono -V
Mono JIT compiler version 2.6.3 (tarball Mon Mar 29 13:02:44 EDT 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC and Parallel Mark)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none

My little "Hello World" program works just fine, but when I try to do much
of anything else, I get several errors.  I'm sure that I'm missing a compile
switch or something, but I haven't been able to find the documentation
anywhere on the Mono website to tell me what I need to do.  Here are the
errors I'm getting when doing a simple "mcs Hangman.cs":

Hangman.cs(41,37): error CS0117: `System.Console' does not contain a
definition for `ReadKey'
Hangman.cs(42,36): error CS1061: Type `string' does not contain a definition
for `Contains' and no extension method `Contains' of type `string' could be
found (are you missing a using directive or an assembly reference?)
Hangman.cs(102,21): error CS0117: `System.Console' does not contain a
definition for `Clear'

I'm sure these things must be available, I'm just not doing the right thing
to make Mono find them.

Can some patient individual out there tell me the command line that I should
use to make Mono find these fairly common C# constructs?

Thanks.
-- 
View this message in context: http://n4.nabble.com/Very-new-to-Mono-tp1745092p1745092.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list