流程找不到类的System.Diagnostics程序? (System.dll中???) [英] Process Class Not Found in System.Diagnostics? (System.dll???)

查看:407
本文介绍了流程找不到类的System.Diagnostics程序? (System.dll中???)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的.NET Framework 3.5中,我引用的所有程序集,我有双重检查一切,但还是这个恼人的错误

I am using .NET Framework 3.5, I have referenced all the assemblies, I have double checked everything, but still this irritating error

 CS0234: The type or namespace name 'Process' does not exist in the namespace               
 'System.Diagnostics' (are you missing an assembly reference?) (CS0234) (Proj1)

根据 / A>和其他各种来源,Process类肯定是坐落在System.dll中的System.Diagnostics命名空间。然后在世界上什么问题呢?

According to MSDN and various other sources, the Process class is definitely located in System.dll in the System.Diagnostics namespace. Then What In The World Is The Problem?

推荐答案

确保您引用正确的system.dll中。该版本应该大致V2.0.50727

Ensure you are referencing the correct System.Dll. The version should be roughly v2.0.50727

这篇关于流程找不到类的System.Diagnostics程序? (System.dll中???)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆