When running TinyPG with a file parameter
cmd.exe : NO console output displayed.
VS2010 : console output displayed in output window.
I found/tried this solution on stackOverflow.
http://stackoverflow.com/questions/8047741/attachconsole-1-but-console-writeline-wont-output-to-parent-command-prompt
It causes the reverse behavior
cmd.exe : console output displayed.
VS2010 : console output displayed in a cmd.exe console which close upon completion. output window is blank.
Setting TinyPG project to "Console application" instead of "Window application" seems to fix the problem :
output are displayed in VS2010/batch/cmd.exe correctly.
TinyPG.csproj
- <OutputType>WinExe</OutputType>
+ <OutputType>Exe</OutputType>
But i am not totaly sure/aware of the consequences.
When running TinyPG with a file parameter
cmd.exe : NO console output displayed.
VS2010 : console output displayed in output window.
I found/tried this solution on stackOverflow.
http://stackoverflow.com/questions/8047741/attachconsole-1-but-console-writeline-wont-output-to-parent-command-prompt
It causes the reverse behavior
cmd.exe : console output displayed.
VS2010 : console output displayed in a cmd.exe console which close upon completion. output window is blank.
Setting TinyPG project to "Console application" instead of "Window application" seems to fix the problem :
output are displayed in VS2010/batch/cmd.exe correctly.
But i am not totaly sure/aware of the consequences.