[Mono-bugs] [Bug 80440][Nor] New - al: /template option does not support absolute path

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 3 10:19:32 EST 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 gert.driesen at pandora.be.

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

--- shadow/80440	2007-01-03 10:19:32.000000000 -0500
+++ shadow/80440.tmp.29502	2007-01-03 10:19:32.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 80440
+Product: Mono: Tools
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: al: /template option does not support absolute path
+
+Mono's AssemblyLinker (al) uses Assembly.Load instead of 
+Assembly.LoadFrom (or Assembly.LoadFile) to load the specified template 
+assembly:
+
+AssemblyName myAssm = new AssemblyName();
+myAssm.Name = Path.GetFileNameWithoutExtension (templateFile);
+Assembly assembly = Assembly.Load(myAssm);
+
+As you can see, Mono's al treats the specify assembly filename as the 
+assembly name instead of using it as a filepath.
+
+As a result we do not support absolute or relative file names for 
+the /template option. This does not match the behaviour of the MS 
+AssemblyLinker.
+
+Would a patch that fixes this issue be accepted ? I can hardly believe 
+anyone relies on this broken behaviour.


More information about the mono-bugs mailing list