开始使用VS 2005,习惯性的使用ConfigurationSettings类来读取应用程序配置文件的信息时,却被编译器提示说:警告 1“System.Configuration.ConfigurationSettings.AppSettings”已过时:“This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings”
于 是转而想找到那个ConfigurationManager类来使用,结果在System.Configuration命名空间下死活找不到 ConfigurationManager类,无奈,求助于网络,才知道原来还要添加对System.Configuration.dll 文件的引用~~
事后才留意到,原来MS对这一点还是提示了一下的,只不过比较隐晦而已——
This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings
注意到没有,上面这段话多了System.Configuration!这段
分享到:
相关推荐
Anybus Configuration Manager - Communicator RS232/422/485 is a software application. This page contains details on how to uninstall it from your computer. It is written by HMS Industrial Networks. You...
System Center Configuration Manager 2007
System Center configuration manager 2012 R2实战,sccm 2012 R2 实战
[Microsoft Press] Microsoft System Center Configuration Manager Field Experience (英文版) [Microsoft Press] Microsoft System Center Configuration Manager Field Experience (E-Book) ☆ 图书概要:☆ ...
Introduction to System Center Configuration Manager ,2012CB版本
VMware vRealize Configuration Manager Cookbook.pdf
ConfigurationManager WebConfigurationManager的开发使用,修改ConfigurationManager 默认的web.config文件读取路径
Delphi Configuration Manager v2.0,控制Delphi2005启动那些功能的软件。
SCCM 2007配置工具
System Center Configuration Manager Current Branch Unleashed By 作者: Kerrie Meyler – Gerry Hampson – Saud Al-Mishari – Greg Ramsey – Kenneth van Surksum – Michael Wiles ISBN-10 书号: 0672337908 ...
ConfigurationManagerConfigurationManagerConfigurationManager
Mastering System Center Configuration Manager 2007 R2
主要为大家详细介绍了Net Core全局配置读取管理方法ConfigurationManager的相关资料,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
安装和配置 SCCM 2016 课程,通过这一个课程的介绍,学员将掌握 System Center 2016 Configuration Manager 的应用场景,工作原理,安装和配置的过程,实现批量计算机的操作系统,应用程序,补丁更新,杀毒软件,资产...
主要介绍了c#读写App.config,ConfigurationManager.AppSettings 不生效的解决方法,需要的朋友可以参考下
System Center Configuration Manager 2007 R3 Complete 书籍的PDF高清扫描版本,一本很好理解SCCM安装配置排错的书籍。
topcoder configuration manager
本文将为大家介绍CiscoWorks Interface Configuration Manager产品手册(英文)。
类库中使用ConfigurationManager.ConnectionStrings的步骤。