[Mono-list] Three questions... SOLVED

Salvatore Scarciglia s.scarciglia at hyperphar.com
Fri Dec 2 08:42:06 EST 2005


In My solution the explicit reference to System was missing.

Now It's all OK.

Bye
Sas


On Fri, 2 Dec 2005 13:42:17 +0100
Salvatore Scarciglia <s.scarciglia at hyperphar.com> wrote:

> On Fri, 02 Dec 2005 06:54:49 -0500
> Jonathan Pryor <jonpryor at vt.edu> wrote:
> 
> > Process is the type, not a namespace -- System.Diagnostics.Process is
> > the classname.  It's located in System.dll, which IIRC is always
> > included in the default assembly references, so you shouldn't need a
> > -r:System mcs argument.
> 
> I'm using MonoDevelop 0.9. 
> 
> - directly from MonoDoc:
> 
> "Remarks
> The Process class provides the means for interacting with the operating system
> processes. Once a Process object has been created, it can be used to access
> information about the process, as well as interacting with it.
> 
> Requirements 
> 	Namespace: System.Diagnostics
>     	Assembly: System 1.0.3300.0 (in System.dll) 
>        	Culture: neutral"
> 
> - in my code:
> 
> using System.Diagnostics;
> 
> ...
> Process p=new Process();
> ...
> 
> - build output:
> 
> [Task:File=/home/sas/Projects/anaconda/engine.cs, Line=265, Column=6,
> Type=Error, Description=The type or namespace name `Process' could not be
> found. Are you missing a using directive or an assembly reference?(CS0246)
> 
> Any Idea ??
> 
> Tnx
> SaS
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


More information about the Mono-list mailing list