[MonoDevelop] "System.Net not found" using monodevelop

Peter Johanson latexer at gentoo.org
Fri Dec 9 17:04:35 EST 2005


On Fri, Dec 09, 2005 at 10:51:04PM +0100, enzo wrote:
> 
> If I try to compile inside the monodevelop I got the following errors:
> [Task:File=/home/enzo/progetti/mono/test1/Main.cs, Line=3, Column=1, 
> Type=Error, Description=The type or namespace name `System.Net' could 
> not be found. Are you missing a using directive or an assembly 
> reference?(CS0246)
> [Task:File=/home/enzo/progetti/mono/test1/Main.cs, Line=3, Column=7, 
> Type=Error, Description=The type or namespace name `Net' does not exist 
> in the namespace `System'. Are you missing an assembly reference?(CS0234)

System.dll is not implicitly added as a reference in monodevelop, but it
is when using mcs on the command line. The change was discussed on the
list a while back if you want to search the archives. Explicitly add a
reference to System in the project references and this should compile
fine.

-pete

-- 
Peter Johanson
<latexer at gentoo.org>


More information about the Monodevelop-list mailing list