【发布时间】:2011-05-24 18:44:41
【问题描述】:
我是 VS 3.5 的新手,我正在编写一个控制台应用程序,它需要从 app.config 文件中提取一些键值。
我有:
Imports System.Configuration
我正在尝试引用ConfigurationManager.AppSettings,但这会产生错误:
名称 ConfigurationManager 未声明
我错过了什么?
【问题讨论】:
标签: .net app-config configurationmanager