Tag: 器编译器错误

System.Diagnostics中找不到进程类? (System.dll中???)

我正在使用.NET Framework 3.5,我已经引用了所有程序集,我已经仔细检查过所有内容,但仍然存在这种恼人的错误 CS0234: The type or namespace name ‘Process’ does not exist in the namespace ‘System.Diagnostics’ (are you missing an assembly reference?) (CS0234) (Proj1) 根据MSDN和其他各种来源,Process类绝对位于System.Diagnostics命名空间的System.dll中。 那么世界上的问题是什么?