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. Parameter name: access at System.AppDomain.InternalDefineDynamicAssembly(AssemblyName name, Assembly BuilderAccess access, String dir, Evidence evidence, PermissionSet requiredPermi ssions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, Sta ckCrawlMark& stackMark, IEnumerable`1 unsafeAssemblyAttributes) at System.AppDomain.DefineDynamicAssembly(AssemblyName name, AssemblyBuilderA ccess access) at Mono.CSharp.CodeGen.InitDynamic(String name) at Mono.CSharp.Evaluator.Reset() at Mono.CSharp.Evaluator.ParseString(Boolean silent, String input, Boolean& p artial_input) at Mono.CSharp.Evaluator.Compile(String input, CompiledMethod& compiled) at Mono.CSharp.Evaluator.Evaluate(String input, Object& result, Boolean& resu lt_set) I'd like to ask if the evaluator works on Windows at all, and if it does, what could the problem be. -- View this message in context: http://www.nabble.com/C--Console-on-Windows-tp21520157p21520157.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
