Here’s something to try: Go to that line (line 580) and copy it someplace else like Textedit or Notepad. Delete the ENTIRE LINE, including the carriage return at the end, and then retype the line. DON’T copy and paste it back.
The reason that this may work is that you may have a non-printable character in that line somewhere (how it got there is anyone’s guess) and the compiler doesn’t like it. Retyping the line may get rid of it, but if you copy and paste it back, you would just be putting that invisible character right back where it was before. Also, if you’re not natively an English speaker, then you may have put in a comment in another language, and special characters such as {øπöé} etc. may confuse the compiler, even though it’s in a comment. (You would think the preprocessor would strip that out, but it sort of depends on the compiler.)
hi pedr0
can you tell me how did you slove the first problem
error CS0117: System.Text.RegularExpressions.RegexOptions' does not contain a definition for Compiled’
error CS1502: The best overloaded method match for System.Text.RegularExpressions.Regex.Regex(string, System.Text.RegularExpressions.RegexOptions)' has some invalid arguments error CS1503: Argument #2’ cannot convert object' expression to type System.Text.RegularExpressions.RegexOptions’
The solution is to go to Edit > Project Settings > Player > Optimization and change “Net 2.0 Subset” to “Net”. I think this has to do with the compilation optimization not being supported on MonoTouch (iPhone).