[Mono-list] C# Console on Windows

Sandy Armstrong sanfordarmstrong at gmail.com
Sat Jan 17 16:23:34 EST 2009


On 01/17/2009 12:56 PM, Dimitar Dobrev wrote:
> Hi all. I just installed Mono 2.2 for Windows and wanted to use the
> interactive C# console (the C# evaluator). I tried both running csharp.exe
> from the command line and using Mono.CSharp.dll in a custom application.
> However, these both failed with the following stack trace:
>
> System.ArgumentException: Illegal enum value: 2049.

Are you sure you're running csharp.exe and your custom app with Mono and 
not .NET?  For example, with the command "mono csharp.exe"...

Sandy


More information about the Mono-list mailing list