[Mono-bugs] [Bug 368448] New: vbnc: Accepts /out without filename

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 8 08:40:17 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=368448


           Summary: vbnc: Accepts /out without filename
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Present in 1.2.6, 1.9 etc.

If no filename supplied.
[[
C:\>vbnc /out   HelloWorld.vb
Visual Basic.Net Compiler version 0.0.0.5851
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.


Assembly 'HelloWorld, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
saved successfully to 'C:\HelloWorld.exe'.
Compilation successful
Compilation took 00:00:02.3120000
]]

If mistakenly used space to separate the option and its filename, rather than
concatenate them with ':'.
[[
C:\>vbnc /out   HelloWorld.exe HelloWorld.vb
Visual Basic.Net Compiler version 0.0.0.5851
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.


C:\HelloWorld.exe (1,4) : Error VBNC30203: Not valid as identifier.
C:\HelloWorld.exe (1,4) : Error VBNC30037: Symbol is not valid.
There were 2 errors and 0 warnings.
Compilation took 00:00:01.6090000
]]

In both case expect:
    vbc : Command line error BC2006 : option 'out' requires ':<file>'


-- 
Configure bugmail: https://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