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

Reply via email to