[Mono-list] Porting an application to Mono on Linux

Jonathan Pryor jonpryor@vt.edu
07 Mar 2003 16:20:38 -0500


Inline...

On Fri, 2003-03-07 at 15:09, Tom Cabanski wrote:
> I have a non-trivial .NET application that I am trying to run under Mono
> on Linux.  I have run into a few problems and I am wondering where I can
> find information to help me understand why.
> 
> 1) Must I recompile the .NET source on my Linux box under Mono?  I have
> moved a couple of trivial exes compiled on Microsoft .NET with no
> trouble.  Was I just lucky?

You weren't "just lucky."  Mono and .NET use the same intermediate
language, so .NET executables/assemblies should run under Mono...

...As long as the dependencies are met. :-)  Running a csc-compiled
Windows.Forms application under Mono won't work, using unimplemented
parts of the Base Class Library won't work, strongly-named shared
assemblies aren't currently supported, etc.

So recompiling your application under Mono can be an easy way to see if
you're using anything that hasn't been implemented (or stubbed out) in
Mono.  However, since the class may only be stubbed out, successful
compilation doesn't ensure successful execution.

> 2) I am curious to find out what is and is not supposed to work in the
> system.xml namespace.  Is there a way to do this short of downloading
> and studying the source?  I looked at the system.xml page and can see
> that there are todo items in the areas I am interested in; I just wonder
> what those todos are.

Alas, I can't help you here.

> 3) I am getting the following error:
> 
> WARNING **:Could not load class from token 0x01000022 in
> /home/tom/netTest/oai.utility.dll
> WARNING **:Missing method Validate in assembly
> /home/tom/netTest/oai.utility.dll typeref index 33

No idea here, either.

 - Jon