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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80668 --- shadow/80668 2007-01-30 06:57:54.000000000 -0500 +++ shadow/80668.tmp.6583 2007-01-30 06:57:54.000000000 -0500 @@ -0,0 +1,64 @@ +Bug#: 80668 +Product: Mono: Tools +Version: 1.1 +OS: GNU/Linux [Other] +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: tools +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: resgen fails on System.String resources + +Description of Problem: +resgen is unable to compile resx files containing resources of type +System.String. + +Steps to reproduce the problem: +1. Invoke `resgen2 string-resource.resx`, content follows: + +<?xml version="1.0" encoding="utf-8"?> +<root> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, +Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, +Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <assembly alias="System.Windows.Forms" name="System.Windows.Forms, +Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> + <data name="foo" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>/etc/fstab;System.String, mscorlib, Version=2.0.0.0, +Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value> + </data> +</root> + +Actual Results: +Error: Exception has been thrown by the target of an invocation. +Inner exception: Constructor not found. Class: System.String + +Expected Results: +Read in 1 resources from 'string-resource.resx' +Writing resource file... Done. + +How often does this happen? +100% + +Additional Information: +mono 1.2.2.1 + +A patch follows. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
