Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

system.configuration warning

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vinki - 29 Aug 2007 18:24 GMT
I keep getting this warining in my code, but when i tried to look at the
intellisense after system.configuration. , I couldn't find
configurationManager but when i forced to put configurationManager, it gave
me an errror that configurationManager does not exists. I am using .net 2.0

Warning    1    'System.Configuration.ConfigurationSettings.AppSettings' is
obsolete: 'This method is obsolete,
it has been replaced by
System.Configuration!System.Configuration.ConfigurationManager.AppSettings'   

am I missing some namespace.

Can anyone please help me with this.

Thanks.
Ignacio Machin ( .NET/ C# MVP ) - 29 Aug 2007 18:30 GMT
Hi,

You need to add a reference to System.Configuration into your project

IMHO this is an error from MS, not include this namespace by default.

>I keep getting this warining in my code, but when i tried to look at the
> intellisense after system.configuration. , I couldn't find
[quoted text clipped - 13 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.