[Mono-list] Wind32 error on Linux
Wed, 27 Mar 2002 13:33:18 +0000 (GMT)
Heha. It's true -- you've stumbled upon Mono's secret plans (discussed at
length on mono-private, of course) to subvert Linux and the free-software
movement by introducing portions of the Win32 kernel! ;-)
No but seriously, don't be scared by this. Mono has a Win32-style IO layer that
returns Windows error codes in exceptional situations, which when recognized
are then mapped to the appropriate .NET exception. If an error code is
unrecognized, it just throws an IOException with the name of the code (I think
maybe a problem with Enum.GetName() is preventing it from displaying the actual
Can you perhaps see a reason that a file might not be created: write
protection, disk full, etc? That would be helpful to track down the bug.
--- Kenneth Rohde Christiansen <email@example.com> wrote: > I ran into a little
funny error, a Win32 error on Linux :)
> kenneth]$ mcs HelloWorld.cs
> error CS16: Coult not write to file `./HelloWorld.exe', cause: Win32 IO
> operation returned for ""
> Error: Compilation failed
> RESULT: 1
> Mono-list maillist - Monofirstname.lastname@example.org
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts