EDN Admin
Well-known member
<div class=ForumPostContentText id="_ctl0__ctl1_bcr__ctl0___PostRepeater__ctl1_PostViewWrapper
<a title="http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx <u><font color="#800080 http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx</font></u>
The above link tells me to use the ConfigurationManager class to read appsetting elements from the app.config.
When I do this VS2005 C# 2.0 console application the ConfigurationManager class is not reconised. Can someone please point out this simple command.
Syntax used: <font color="#0000ff" size=2>
using </font><font size=2>System;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections.Specialized;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections.ObjectModel;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Text;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Configuration;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Data;</font><font color="#0000ff" size=2>
using </font><font size=2>System.IO;</font>
<font size=2><font size=2>
string configValueString = System.Configuration.????? NO ConfigurationManager
someone please tell me how to read xml from app.config from a console app in c# 2.0 </font></font>
View the full article
<a title="http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx <u><font color="#800080 http://msdn2.microsoft.com/en-us/library/system.configuration.configurationmanager.aspx</font></u>
The above link tells me to use the ConfigurationManager class to read appsetting elements from the app.config.
When I do this VS2005 C# 2.0 console application the ConfigurationManager class is not reconised. Can someone please point out this simple command.
Syntax used: <font color="#0000ff" size=2>
using </font><font size=2>System;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections.Specialized;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections.ObjectModel;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Collections;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Text;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Configuration;</font><font color="#0000ff" size=2>
using </font><font size=2>System.Data;</font><font color="#0000ff" size=2>
using </font><font size=2>System.IO;</font>
<font size=2><font size=2>
string configValueString = System.Configuration.????? NO ConfigurationManager
someone please tell me how to read xml from app.config from a console app in c# 2.0 </font></font>
View the full article