PC Review


Reply
Thread Tools Rate Thread

ConfigurationManager with file attribute problem

 
 
Vonlar
Guest
Posts: n/a
 
      26th Mar 2008
My app.config file has the setting <MySection file="My.config">

When I use
"System.Configuration.ConfigurationManager.GetSection(SectionName)" it
correctly reads from the My.config file for MySection.

However, when I use
"System.Configuration.ConfigurationManager.OpenExeConfiguration().GetSection(SectionName)it
does not read from the file. Is this a bug? How do I figure out where it's
loading the section from, so I can at least open the config file by filename?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.settings file and ConfigurationManager in C++/CLI ? dtieuf Microsoft VC .NET 0 7th Aug 2008 02:19 PM
File attribute problem Lon Welsh Windows XP Security 1 8th Sep 2003 05:03 AM
strange file attribute problem from network Brian Henry Windows XP Networking 1 5th Sep 2003 08:18 PM
strange file attribute problem from network Brian Henry Windows XP General 0 5th Sep 2003 07:58 PM
strange file attribute problem on network Brian Henry Windows XP General 0 5th Sep 2003 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:39 AM.