[Mono-bugs] [Bug 79715][Nor] New - FileNotFoundException if AssemblyName's version does not contain 4 parts

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 21 17:20: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=79715

--- shadow/79715	2006-10-21 17:20:27.000000000 -0400
+++ shadow/79715.tmp.9775	2006-10-21 17:20:27.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 79715
+Product: Mono: Runtime
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FileNotFoundException if AssemblyName's version does not contain 4 parts
+
+Currently, AppDomain.Load (AssemblyName) and Assembly.Load (AssemblyName) 
+(and related methods) always throw a FileNotFoundException when a version 
+with less than 4 parts is specified in the AssemblyName.
+
+This is due to a issue in build_assembly_name (assembly.c).
+
+I'll attach a patch that fixes this issue, adds unit tests for it.
+
+For now, I just set the build and revision number to 0 if not specified 
+in the AssemblyName, but we should really be setting these values to -1. 
+That would allow us to check whether values have been specified for 
+build/revision later on.
+
+However, I think it's best to leave that change up to someone that can 
+better estimate the consequences of that change, and can make necessary 
+modifications in other functions to cope with this change.


More information about the mono-bugs mailing list