Coud没有得到asp.net类文件中的ConfigurationManager关键字 [英] Coudn't get the ConfigurationManager key word in asp.net class file

查看:86
本文介绍了Coud没有得到asp.net类文件中的ConfigurationManager关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的专家,



我正在做一个asp.net 4.5项目。我有类和导入命名空间。

Dear Experts,

I am Doing an asp.net 4.5 Project. I have class and Imported a namespace.

using System.Configuration;



但我无法获得关键字


But i can't get the keyword

ConfigurationManager







问题是什么......请帮帮我..



谢谢和问候,



Dileep




What was the issue... please help me..

Thanks and Regards,

Dileep

推荐答案





转到参考,您会看到系统已被添加到引用,但没有引用System.Configuration.dll。

System.Configuration出现在添加System.dll时使用语句,所以你还必须添加系统。从Framework到您的项目的Configuration.dll

我认为这可以解决您的问题......:)
Hi,

Go to the reference and you will see System has been added to reference, but System.Configuration.dll has not been referenced.
System.Configuration appears for using statements when System.dll was added,So you also have to add System.Configuration.dll from Framework to your project.
I think this may solve your problem....:)


这篇关于Coud没有得到asp.net类文件中的ConfigurationManager关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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