[mono-vb] Console Window???

drdods andrew at hanmer.co.nz
Wed Oct 6 20:11:38 EDT 2010


Hi there,

I also have the DOS prompt issue.

I have entered "-target:winexe" in the "Options > Compiler > Additional
compiler arguments" field in MonoDevelop 2.2.0.0 to no effect.
On the command line "vbnc -target:winexe Application.vb" yields the
following but the DOS prompt persists in Windows.

Visual Basic.Net Compiler version 0.0.0.5914 (Mono 2.4.2 - r)
Copyright (C) 2004-2008 Rolf Bjarne Kvinge. All rights reserved.
Assembly 'Application, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=null' saved successfully to '/path/to/Application.exe'.
Compilation successful
Compilation took 00:00:02.5703820

Any help greatly appreciated!

Best regards,
Andrew.


Klaus Siebke wrote:
> 
> The answers are:
> 
> No, the console is not supposed to be there and
> Yes, you can turn it off by specifying the compiler option
> "-target:winexe".
> In Monodevelop just go the the project properties and add this option to
> the additional comiler flags.
> 
> Best regards,
> Klaus
> 
> 
> 
> MatrixC wrote:
>> 
>> One problem I'm having,,, well, I'm not sure if it's a problem, a
>> setting, or just how it is; when I compile a VB project with MonoDevelop,
>> and run it on windows, behind the Frame/Form GUI, there's a empty console
>> window. With Microsoft's VB Compiler/IDE, that window doesn't exist, you
>> can only see the Frame/Form.
>> 
>> So, my question is... Is that console supposed to be there? Can I turn it
>> off? Or is it just the way MonoDevelop works?
>> 
>> Thanks in advance,
>> MatrixC
>> 
> 
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Console-Window-tp1550727p2965996.html
Sent from the Mono - VB mailing list archive at Nabble.com.


More information about the Mono-vb mailing list