[Mono-dev] [BUG] Unhandled Exception; object reference not set to an instance of an object....
Michael Hutchinson
m.j.hutchinson at gmail.com
Sun Apr 19 12:48:28 EDT 2009
On Sun, Apr 19, 2009 at 6:41 AM, Robert Jordan <robertj at gmx.net> wrote:
>>
>> but when i run it under windows, without mono being installed, it works
>> fine... so im not sure whats going on; here is the code snippit
>>
>> while (Running) {
>> string input=Console.ReadLine();
>> if (input.StartsWith("/")) {
>
> MD does not support terminal input, thus your "input" string will
> be "null".
>
> You must run apps depending on Console.Read* outside MD.
Note that there's a "run in external console" option in the project
options in MD.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Mono-devel-list
mailing list