[Mono-bugs] [Bug 586897] New: mkbundle does not support # character in directory path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 10 00:08:26 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=586897#c0


           Summary: mkbundle does not support # character in directory
                    path
    Classification: Mono
           Product: Mono: Tools
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: brett_senior at yahoo.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-au) AppleWebKit/531.2+
(KHTML, like Gecko) Safari/531.2+

I changed to the following directory on my machine:

   ~/Programs/Mono/C#/RPN_Calculator/RPN_Calculator/bin/Release

and then entered 

   mkbundle2 RPN_Calculator.exe

and the following error is displayed:

OS is: Linux
Sources: 1 Auto-dependencies: False

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly '/home/brett/Programs/Mono/C' or one of its dependencies. The system
cannot find the file specified.
File name: '/home/brett/Programs/Mono/C'
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom
(string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] 
  at MakeBundle.QueueAssembly (System.Collections.ArrayList files,
System.String codebase) [0x00000] 
  at MakeBundle.Main (System.String[] args) [0x00000] 

So I copied the .exe to ~ and used the same command and it worked fine -
indicating that # characters are not supported in the directory or filename.

Reproducible: Always

Steps to Reproduce:
1. Create a directory path that contains a #
2. mkbundle <some-assembly>.exe

Actual Results:  
The following error is displayed:

OS is: Linux
Sources: 1 Auto-dependencies: False

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly '/home/brett/Programs/Mono/C' or one of its dependencies. The system
cannot find the file specified.
File name: '/home/brett/Programs/Mono/C'
  at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom
(string,bool)
  at System.Reflection.Assembly.LoadFrom (System.String assemblyFile) [0x00000] 
  at MakeBundle.QueueAssembly (System.Collections.ArrayList files,
System.String codebase) [0x00000] 
  at MakeBundle.Main (System.String[] args) [0x00000] 


Expected Results:  
Should create RPN_Calculator and not report the above error

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


More information about the mono-bugs mailing list