TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ron
NA
44
64.4k
Reading Configuration File
Aug 17 2010 12:24 PM
I attempted to read a connection string from my app.config file using in part:
strConString = System.Configuration.
ConfigurationSettings
.AppSettings.Get(
"WicConnectionString"
);
Visual Studio reported this message:
System.Configuration.ConfigurationSettings.AppSettings is obsolete: This method is obsolete, it has been replaced by System.Configuration!System.Configuration.ConfigurationManager.AppSettings
Thinking that ConfigurationManager was an addition to framework 4, (currently using 3.5) I downloaded 4.
However, when I enter in code System.Configuration... ConfigurationManager is not presented by intellisense as an option.
What am I doing incorrectly?
Reply
Answers (
4
)
Alternative to VB.Net Method My.Application.ChangeUiCulture in C#.
Weird array issue