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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs