Sorry to sound dense, but I've never heard of a "user.config" file?
perhaps you could shed some light? If you have an app.config file in your
solution, when compiled, this gets moved to the executable directory and
is automatically renamed by the IDE to
<yourappname>.exe.config
When an .NET executable is run, it looks for a file with this naming
convention automatically, loads and parses it.
The <appSettings> section values (for example) are then all available as a
NameValueCollection in
System.Configuration.ConfigurationSettings.AppSettings["keyName"]... etc.
HTH
Peter
Mark said:
Can a user.config file be used in console and desktop apps to override
the app.config settings in a similar way to how a user.config file can
override a web.config? Thanks in advance.
Mark