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

Ian MacLean ianm at activestate.com
Sat Dec 4 05:04:19 EST 2004


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

>
> Source ---
> System
>
> StackTrace ---
> in <0x000ae> System.Configuration.ConfigurationData:CreateNewHandler 
> (string,System.Configuration.SectionData)
> in <0x0020d> System.Configuration.ConfigurationData:GetHandler (string)
> in <0x0002a> System.Configuration.ConfigurationData:GetConfigInternal 
> (string)
> in <0x000bd> System.Configuration.ConfigurationData:GetConfig (string)
> in <0x00022> System.Configuration.DefaultConfig:GetConfig (string)
> in <0x0007a> System.Configuration.ConfigurationSettings:GetConfig 
> (string)
> in <0x00060> NAnt.Console.ConsoleStub:get_FrameworkVersion ()
>
> Thanks in advance,
>
> Mike Tindal
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list





More information about the Mono-devel-list mailing list