[Mono-list] Newbie help? (thanks, and more ?s)
Thomas Leavitt
thomas@thomasleavitt.org
Mon, 11 Aug 2003 01:22:20 -0700
Peter gave me the answer I needed. Does anyone have a recommendation for a
good
"how to learn C#" book or tutorial? I have the O'Reilly "Programming C#"
book, but
I'm sensing it is less than optimal for my learning style... I prefer to
learn by doing,
i.e. write and implement small but fully functional programs that are
useful, and then
develop from there. That book seems more tuned to bringing an experienced
C++
programmer up to speed ASAP, and that's not me.
***
Next item... mint produces the following error when run against hello.exe
... similar
errors are produced when I run it against other executables. Note: I am
compiling
straight out of CVS - what list do I need to be on, what do I need to read
to determine
that something like this is a product of the code I built it from, vs.
something I'm doing
incorrectly?
Unhandled Exception: System.Reflection.TargetInvocationException: Exception
has
been thrown by the target of an invocation. --->
System.NullReferenceException:
Segmentation fault
--- End of inner exception stack trace ---
#0: 0x0003f throw in System.Reflection.MonoMethod::Invoke ([00E06D08]
[276
[00E043C0] [00E06E58] [00000000] )
#1: 0x0022b callvirt in System.MonoType::InvokeMember ([00E0AED8] [276]
[0000
000] [00E06D08] [00E06E58] [00000000] [00000000] [00000000] )
#2: 0x000c0 callvirt in System.Text.Encoding::InvokeI18N ([00E0AED8]
[00E06E5
] )
#3: 0x00080 call in System.Text.Encoding::GetEncoding ([00E001E0] )
#4: 0x00026 call in System.Text.Encoding::get_Default ()
#5: 0x00005 call in System.Console::.cctor ()
Thanks.
Thomas
----- Original Message -----
From: "Peter Williams" <peter@newton.cx>
To: <mono-list@lists.ximian.com>
Sent: Sunday, August 10, 2003 10:18 PM
Subject: Re: [Mono-list] Newbie help?
> On Sun, 2003-08-10 at 23:16, Thomas Leavitt wrote:
> > ... hey, if this isn't the appropriate place for an experienced sysadmin
who
> > has RTFM to ask probably ignorant questions, where do I do that?
>
> Are you running Windows and Cygwin? If so, you need to set up your PATH
> environment so that csc.exe (the MS C# compiler) can be found... I think
> it's somewhere in C:\WINNT\Microsoft.NET.
>
> If you're on a unixy machine ... well, the build system thinks you're on
> Windows. It checks for the make variable $(OS) = Windows_NT so that
> should only happen for a really messed up configuration.
>
> Peter
>
> --
> Peter Williams peter@newton.cx
>
> "[Ninjas] are cool; and by cool, I mean totally sweet."
> -- REAL Ultimate Power
>
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>