Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I find System.Text.RegularExpressions when using Mono in Linux?

I'm attempting to use Mono and Monodevelop (the IDE) to code a C# project in Ubuntu.

Everything is working apart from the fact that the System.Text.RegularExpressions (Package?) is not found. The only relevant thing I have found on the interwebs is here

There appears to be a solution of sorts posted, but I don't understand. Please help :)

like image 837
Richard Walton Avatar asked Jan 15 '09 23:01

Richard Walton


2 Answers

In MonoDevelop, right click on References and add a reference to the System assembly.

You could use gmcs -r System *.cs to compile from command line.

like image 52
mmx Avatar answered Oct 08 '22 04:10

mmx


Same here in VS2010. Just add a reference to System if Assembly is missing.

like image 29
Eduard Seifert Avatar answered Oct 08 '22 03:10

Eduard Seifert