[Mono-list] Three questions...

Salvatore Scarciglia s.scarciglia at hyperphar.com
Fri Dec 2 07:42:17 EST 2005


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


More information about the Mono-list mailing list