[Mono-devel-list] System.Configuration breakage?

Gert Driesen gert.driesen at pandora.be
Sun Dec 5 11:14:16 EST 2004


 

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Michael Tindal
> Sent: zondag 5 december 2004 17:11
> To: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-devel-list] System.Configuration breakage?
> 
> Gert Driesen wrote:
> 
> > 
> >
> >  
> >
> >>-----Original Message-----
> >>From: mono-devel-list-admin at lists.ximian.com 
> >>[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> >>Ian MacLean
> >>Sent: zondag 5 december 2004 13:27
> >>To: Michael Tindal
> >>Cc: mono-devel-list at lists.ximian.com
> >>Subject: Re: [Mono-devel-list] System.Configuration breakage?
> >>
> >>Michael Tindal wrote:
> >>
> >>    
> >>
> >>>Ian MacLean wrote:
> >>>
> >>>      
> >>>
> >>>>Michael Tindal wrote:
> >>>>
> >>>>        
> >>>>
> >>>>>Hey everyone,
> >>>>>
> >>>>>   Some changes between mono 1.1.2 and HEAD have broken 
> >>>>>          
> >>>>>
> >>nant.  I've 
> >>    
> >>
> >>>>>tried hunting down the problem to no avail, and I'm 
> >>>>>          
> >>>>>
> >>unsure if its a 
> >>    
> >>
> >>>>>problem with nant itself or with the class libraries 
> shipped with 
> >>>>>mono.  I added some debugging output to src/ConsoleStub.cs then 
> >>>>>recompiled NAnt.exe using mcs -g -t:exe -out:NAnt.exe 
> >>>>>          
> >>>>>
> >>ConsoleStub.cs 
> >>    
> >>
> >>>>>AssemblyInfo.cs, which produced this output.  Maybe someone here 
> >>>>>with a bit more knowledge about this could shed some 
> light on the 
> >>>>>problem.
> >>>>>
> >>>>>_frameworkVersion =
> >>>>>Compat mode: the request from /usr/lib/NAnt.Core.dll to 
> >>>>>          
> >>>>>
> >>load System 
> >>    
> >>
> >>>>>was remapped (http://www.go-mono.com/remap.html)
> >>>>>Compat mode: the request from /usr/lib/NAnt.Core.dll to load 
> >>>>>System.Xml was remapped (http://www.go-mono.com/remap.html)
> >>>>>
> >>>>>Message ---
> >>>>>nant does not implement 
> >>>>>System.Configuration.IConfigurationSectionHandler ()
> >>>>>
> >>>>>HelpLink ---
> >>>>>
> >>>>>          
> >>>>>
> >>>>try removing (or commenting ) the  <supportedRuntime 
> >>>>version="v2.0.40607" /> line from NAnt.exe.config
> >>>>
> >>>>Ian
> >>>>        
> >>>>
> >>>That worked, is there something wrong in the 2.0 runtime 
> that would 
> >>>cause it to break like that?
> >>>      
> >>>
> >>It looks like svn head build of mono installs a partial 2.0 
> runtime - 
> >>the only assembly in lib/mono/2.0 is mscorlib.dll.  So I'm 
> >>guessing that 
> >>can's find the 2 .0 version System.Configuration classes. I'm not 
> >>entirely sure though -
> >>    
> >>
> >
> >Yeah, that's probably the cause. I submitted a bug report 
> that is somewhat
> >related to this a while ago :
> >
> >http://bugzilla.ximian.com/show_bug.cgi?id=62913
> >
> >Gert
> >  
> >
> Wasn't my cause, my svn build is installing a full set last I looked, 
> ill do a fresh install again to check.  I ran some traces, 
> and I found 
> the real problem, at least, a problem which when fixed lets nant work 
> properly :).  I ended up rebuilding log4net, plus NAnt.Core.dll, 
> NAnt.DotNetTasks.dll, NAnt.CompressionTasks.dll, and NAnt.exe (all of 
> hte precompiled binaries) by hand against 2.0, using gmcs -2 
> plus other 
> needed options, and now it runs as expected.

Now I remember, you're running into a much more serious issue that I also
reported quite a while ago :

http://bugzilla.ximian.com/show_bug.cgi?id=66237

Gert




More information about the Mono-devel-list mailing list