dmcs

Mono, Regex and stack size

眉间皱痕 提交于 2019-12-24 14:03:01
问题 I'm porting a piece of C# software that uses System.Text.RegularExpressions.Regex for parsing out C/C++ includes out of source files. They are fully loaded into memory as a string and then just treated with the regex. It works perfectly on Windows, but Mono running on Linux fails when trying to parse larger files with a stack overflow exception thrown from deep inside System.Text.RegularExpressions.Interpreter . The code is perfectly correct - it works on Windows. Is there a way to increase

What does the D in DMCS stand for?

◇◆丶佛笑我妖孽 提交于 2019-12-08 02:16:15
问题 So, I was reading about the mono c# compiler. I know what the purpose of the apps are, but I was just wondering what the abbreviations stand for. (Also what does gmcs, smcs and csc stand for?) If I were to take a guess it would be (Something) Mono Compiler Service. 回答1: This is what I can surmise from the documentation (and is also in chronological order, earliest to latest): csc = C S harp C ompiler (from Microsoft) mcs = M ono C ompiler S ervice (or potentially M ono C S harp, but compiler

Mono take mscorlib.dll 2.0 instead of 4.0

风格不统一 提交于 2019-12-01 06:30:18
问题 I am having a problem with an MONO application, I'm trying to compile the project (with MonoDevelop) so as to load the library run mscorlib.dll 4.0 instead of version 2.0. (I need System.Type.op_Equality method that is in version 4.0 but not in 2.0). I've temporarily solved by making a link: # cd /usr/lib/mono/2.0 # mv mscorlib.dll mscorlib.dll.bak # ln ../4.0/mscorlib.dll mscorlib.dll But of course this is not a valid solution. Does anyone know how to MONO load mscorlib 4.0 instead of 2.0?