[Mono-bugs] [Bug 541661] New: Assemblies with capital .DLL cannot be loaded.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 24 04:20:37 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541661


           Summary: Assemblies with capital .DLL cannot be loaded.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Mono.Addins
        AssignedTo: lluis at novell.com
        ReportedBy: elvikis at mathematik.uni-kl.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=319662)
 --> (http://bugzilla.novell.com/attachment.cgi?id=319662)
Adds .ToLower() for the Path.GetExtension (file), so following compatison is
done correctly against ext == ".dll" || ext == ".exe"

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

MS Visual Studio 2005 Setup Project automatically includes assembly
dependences, however for some reasons it capitalizes .DLL extension, i.e. even
if in debug environment depended assembly was Assembly.dll it turns into
Assembly.DLL. As a result, Mono.Addins scans assembly with ScanConfigAssemblies
instead of ScanAssembly and results into errors.

Reproducible: Always

Steps to Reproduce:
1. Create application which uses Mono.Addins
2. Change extension of the assembly with embedded addin.xml to the capital .Dll
or .EXE
3. Rebuild Addins database using mautil with verbose (-v) option to see error
appear.
Actual Results:  
Addins information in assemblies with capital .DLL or .EXE could not be read.

Expected Results:  
Capitalization of the file extension should not make any difference

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list