pagaNs
November 18th, 2008, 09:14 AM
I'm not so big noob
PROBLEM:
Cant force Monodevelop to run my simple prog in external console.
Tried Project->Options->Configuration->Debug->Custom Commands
I selected from drop down menu [execute]
Browsed to the executable, path from (project)bin folder
Workind dir -> tried every combination
Clicked on [Run on external console] & [pause console output]
I HAVE installed gmcs to be able to compile progs from within MD - newest version of CLR
the message I get is: cannot execute binnary file
now, now, I know that this is easily produced if 'we' don't use 'mono f.exe' on the command line, I know its different on win but:
can anyone help solve this
I have no problem executing solution/project and watching it's results in the output pane, the problem comes (Console applications) when my prog have need to read from user input. That commands are skipped, more precisely, values that should be assigned to variables ARE assigned and they are all 0 [zero]. I don't want, IF I DON'T HAVE TO, to go to terminal every time I want to execute program that reads user input, and this is essential to me, since I'm in process of learning (A lot of short programs, a lot of experimenting(quick?).
I thank you very much in advance, if you have even an idea for solution, I ask you kindly to post it.
P.S. Didn't find any answer on google, this forum or monodevelop docs
PROBLEM:
Cant force Monodevelop to run my simple prog in external console.
Tried Project->Options->Configuration->Debug->Custom Commands
I selected from drop down menu [execute]
Browsed to the executable, path from (project)bin folder
Workind dir -> tried every combination
Clicked on [Run on external console] & [pause console output]
I HAVE installed gmcs to be able to compile progs from within MD - newest version of CLR
the message I get is: cannot execute binnary file
now, now, I know that this is easily produced if 'we' don't use 'mono f.exe' on the command line, I know its different on win but:
can anyone help solve this
I have no problem executing solution/project and watching it's results in the output pane, the problem comes (Console applications) when my prog have need to read from user input. That commands are skipped, more precisely, values that should be assigned to variables ARE assigned and they are all 0 [zero]. I don't want, IF I DON'T HAVE TO, to go to terminal every time I want to execute program that reads user input, and this is essential to me, since I'm in process of learning (A lot of short programs, a lot of experimenting(quick?).
I thank you very much in advance, if you have even an idea for solution, I ask you kindly to post it.
P.S. Didn't find any answer on google, this forum or monodevelop docs