Re: [Mono-dev] serialization of structured data in ArrayList

2005-12-19 Thread mirek
when i compile the code below and i run it, i've got the following exception: Unhandled Exception: System.InvalidOperationException: The type Car was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically. can you help me, how can i solve

Re: [Mono-dev] serialization of structured data in ArrayList

2005-12-19 Thread Kornél Pál
I never tried to serialize an ArrayList, but I think you had better to serialize a strongly typed array of Car objects. An ArrayList is a too complex structure. If you need an ArrayList on both sides of serialization, you can use the constructor of ArrayList that takes an ICollection. Arrays are

Re: [Mono-dev] serialization of structured data in ArrayList

2005-12-19 Thread mirek
wow - great - it works. thanks a lot :-)) yes - the exception told me what to do, i just didnt know how to use xmlinclude. thanks one more time ;) maybe - two questions: 1. it is good to use xml serialization or binary? as i read the articles, the binary is faster, but maybe not so usefull

[Mono-dev] Mono debugger : Inconsistency detected by ld.so:

2005-12-19 Thread Hubert FONGARNAND
I've seen that the debugger as changed these days... I'm working with gentoo with libc with tls enabled... I've updated my debugger from svn, and I always get : [EMAIL PROTECTED] ~/mono/debugger $ mdb Inconsistency detected by ld.so: ../sysdeps/generic/dl-tls.c: 72: _dl_next_tls_modid:

[Mono-dev] mod_mono on Windows

2005-12-19 Thread Alexandre Rocha Lima e Marcondes
Hello Gonzalo, As we talked earlier, I'm sending you the patches for mod_mono on windows. On patch mod_mono-win32-3, const int MAXARGS = 21; should work using #define , but on Windows, as const int it does not work, so for now it is hardcoded. I think the best should be testing with

Re: [Mono-dev] Compilling Mono 1.1.10 on Sun Solaris 9

2005-12-19 Thread Peter Dennis Bartok
isnormal is no longer used in the svn head version. It was changed in svn r54327. Peter -Original Message- From: Vorobiev Maksim [EMAIL PROTECTED] To: mono-devel-list@lists.ximian.com Date: Monday, 19 December, 2005 09:49 Subject: [Mono-dev] Compilling Mono 1.1.10 on Sun Solaris 9

RE: [Mono-dev] Compilling Mono 1.1.10 on Sun Solaris 9

2005-12-19 Thread Gary M. Smithrud
I believe that that library is in /usr/ucblib and is there by default (I don't know that for sure, since we have Workshop installed). That issue is just a path issue and there will likely be others (I haven't tried building Solaris Mono for a while so I don't know what sort of shape it is in).

[Mono-dev] `System.Diagnostics.Process' is defined multiple times

2005-12-19 Thread Jurgen Schoeters
Hi, Im'trying to compile a program which uses System.Diagnostics.Process to execute a C-program, but my program also uses System.I0.Ports from the 2.0 library and this gives a conflict because System.Diagnostics.Process is defined multiple times (in the 1.0 and 2.0 library). Could someone help me

Re: [Mono-dev] `System.Diagnostics.Process' is defined multiple times

2005-12-19 Thread Zoltan Varga
Hi, Try the gmcs compiler it will automatically use the 2.0 libraries, so no need to do -r:/usr/lib/mono/2.0/System.dll. Zoltan On 12/19/05, Jurgen Schoeters [EMAIL PROTECTED] wrote: Hi, Im'trying to compile a program which uses

Re: [Mono-dev] serialization of structured data in ArrayList

2005-12-19 Thread Jonathan Pryor
On Mon, 2005-12-19 at 14:26 +0100, mirek wrote: 1. it is good to use xml serialization or binary? as i read the articles, the binary is faster, but maybe not so usefull when need to change the configuration file by my own. If it's not performance critical, I would suggest going with the more

Re: [Mono-dev] System.Threading Bug in Mono 1.1.10 ( Regression )

2005-12-19 Thread Zoltan Varga
Hi, This isn't a regression. Thread.Interrupt never worked in mono, however, in older versions, it did nothing, causing code using it to silently fail, now it throws a NotImplementedException. http://bugzilla.ximian.com/show_bug.cgi?id=74525 Zoltan On 12/20/05, Victor Romero [EMAIL PROTECTED]