[Mono-bugs] [Bug 498370] New: [vbnc] /resource command line param doesn't accept extra slashes in the file path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 27 05:18:45 EDT 2009


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


           Summary: [vbnc] /resource command line param doesn't accept
                    extra slashes in the file path
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: jankit at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Compile the attached file with:

vbnc bug.vb /resource:resources//foo.txt 
Visual Basic.Net Compiler version 0.0.0.5904 (Mono 2.0 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


Error : VBNC31027: The file 'resources//foo.txt' does not exist.
Compilation took 00:00:00.3008620

It works fine if the extra / is removed in the file path:

vbnc bug.vb /resource:resources/foo.txt 
Visual Basic.Net Compiler version 0.0.0.5904 (Mono 2.0 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.


Assembly 'bug, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' saved
successfully to '/home/radical/test/vb/bug.exe'.
Compilation successful
Compilation took 00:00:01.1877470

-- 
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