[Mono-bugs] [Bug 81475][Maj] Changed - nunit-gui 2.4: crash when running the nunit.framework.tests.dll

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 5 21:51:41 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj at gmx.net.

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

--- shadow/81475	2007-05-02 16:36:28.000000000 -0400
+++ shadow/81475.tmp.17463	2007-05-05 21:51:41.000000000 -0400
@@ -1,22 +1,21 @@
 Bug#: 81475
-Product: Mono: Runtime
+Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Major
-Component: misc
-AssignedTo: mono-bugs at ximian.com                            
+Component: Configuration
+AssignedTo: toshok at ximian.com                            
 ReportedBy: matt at use.net               
-QAContact: mono-bugs at ximian.com
+QAContact: toshok at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: nunit-gui 2.4: crash when running the nunit.framework.tests.dll
 
 on Ubuntu 6.06 on x86:
 
 Steps to reproduce the problem:
 1. start up nunit-gui 2.4 (compiled with .NET 2.0)
@@ -117,6 +116,56 @@
 IntPtr wParam, IntPtr lParam) [0x0006b] in
 /tmp/scratch/BUILD/mono-1.2.4/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:183
 
 
 Expected Results:
 shouldn't crash, as on MS.NET
+
+------- Additional Comments From robertj at gmx.net  2007-05-05 21:51 -------
+It seems that Mono's 2.0 profile is expecting a partial
+type name containing at least the simple assembly name,
+like here:
+
+<section name="Section"
+type="System.Configuration.NameValueSectionHandler, System"/>
+
+MS.NET is expecting either the fully specified type name
+or a simple type name that is looked up from these assemblies:
+mscorlib, System, System.Configuration.
+
+Test case:
+
+// bug-81475.cs
+using System;
+using System.Collections.Specialized;
+using System.Configuration;
+
+class Test
+{
+	static void Main ()
+	{
+		NameValueCollection c = (NameValueCollection)
+			ConfigurationSettings.GetConfig("Group/Section");
+		Console.WriteLine (c ["key"]);
+	}
+}
+
+
+bug-81475.exe.config:
+
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+	<configSections>
+		<sectionGroup name="Group">
+			<section name="Section"
+				type="System.Configuration.NameValueSectionHandler"/>
+		</sectionGroup>
+	</configSections>
+
+	<Group>
+		<Section>
+			<add key="key" value="value" />
+		</Section>
+	</Group>
+</configuration>
+
+


More information about the mono-bugs mailing list