[Mono-list] using Mono.Unix

R. Tyler Ballance tyler at bleepconsulting.com
Thu Dec 7 02:31:49 EST 2006


On Dec 7, 2006, at 12:42 AM, brad brock wrote:

> I've tried but failed. For information, I use Mono that comes with  
> debian etch. This is the result of 'mono -V' command :
>
> Mono JIT compiler version 1.1.17.1, (C) 2002-2006 Novell, Inc and  
> Contributors. www.mono-project.com
>         TLS:           normal
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV:       normal
>         Disabled:      none
>
> And this is the error message when I compiled my source code :
> test.cs(9,44): error CS0234: The type or namespace name `Unix' does  
> not exist in the namespace `Mono'. Are you missing an assembly  
> reference?
> Compilation failed: 1 error(s), 0 warnings
>
> How should I fix it?
>


mcs -r:Mono.Unix.dll yourunixfile.cs


Cheers

R. Tyler Ballance: Custom Mac and Linux Development at bleep. consulting
contact: tyler at bleepconsulting.com | jabber: tyler at jabber.geekisp.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061207/187889ab/attachment-0001.html 


More information about the Mono-list mailing list