>> Then, get rid of any classes
>> that have "using Win32" in them.
> Unfortunately I just added "using Win32" to project.cs to support the 
> multiple runtimes. I want to come up with a way to partition
> 
> this so that the registry access stuff is skipped on a non-windows 
> build. Maybe thru use of #ifdef. Anyone have a better way to do this ?

If I ever get the debugger compiled, I was intending to look into this further.
 I suggested dropping those files that had using Win32 from the build just to
get going under linux, but hopefully, that wouldn't have to be an absolute
rule.  

It is my understanding that certain parts of Mono are implemented using the
wine libraries.  Not all systems will have this installed or installed and
configured, like mine was. Of course any .net compiled libraries that used
PInvoke may hit kernel32.dll by themselves, but the original set of wine
libraries had a version of kernel32.dll and this is why Brian saw that error
most likely.  The current versions of wine delegate everything to a single
shared library and emulate the win32 calls by some sort of configuration. They
also emulate the Registry but that must be setup to work correctly. I am going
to guess that it will be possible to say "using Win32" without wine and without
error, but I don't know what the limitations are yet.

My next couple of free time sessions are going to be spent rebuilding my linux
system so that I have more source packages, now that I finally figured out the
connection between tarballs (.tar.gz), source rpms, spec files and packages, so
I'll be a few days from any more work on NAnt.  Hopefully after that I can hit
this hard again. As for the using Win32 in project.cs, I'd say leave it there
for now until me or somebody else can look into this a little more.


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to