[Mono-bugs] [Bug 78407][Min] New - [PATCH] ArgumentException when
path is specified for linked resource
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 15 15:21:27 EDT 2006
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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=78407
--- shadow/78407 2006-05-15 15:21:27.000000000 -0400
+++ shadow/78407.tmp.18455 2006-05-15 15:21:27.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 78407
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] ArgumentException when path is specified for linked resource
+
+mcs report the following exception when a filename with path information
+is specified as value for /linkresource:
+
+Unhandled Exception: System.ArgumentException:
+fileName '/home/monohead/mono-test-projects/Service.cs' must not include
+a path.
+in <0x00324>
+System.Reflection.Emit.AssemblyBuilder:check_name_and_filename
+(System.String name, System.String fileName, Boolean fileNeedsToExists)
+in <0x00020> System.Reflection.Emit.AssemblyBuilder:AddResourceFile
+(System.String name, System.String fileName, ResourceAttributes
+attribute, Boolean fileNeedsToExists)
+in <0x00015> System.Reflection.Emit.AssemblyBuilder:AddResourceFile
+(System.String name, System.String fileName, ResourceAttributes attribute)
+in <0x00026> Mono.CSharp.Resources+LinkedResource:Emit ()
+in <0x00112> Mono.CSharp.Resources:Emit ()
+in <0x00cca> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x00042> Mono.CSharp.Driver:Main (System.String[] args)
+
+The attached patch fixes this issue.
+
+Let me know if it's ok to commit. Should I also commit this change for
+gmcs ?
More information about the mono-bugs
mailing list