about the configuration file app.config

G

Guest

i create a configuration file for the program with the default name
"app.config" and the ConfigurationManager deal with well, but after i change
the file name like "other.config" it doesn't work, must the configuration
file be named "app.config"?
 
M

Morten Wennevik

Hi,

The file app.config is translated to YourProgram.exe.config when you
compile YourProgram, so yes, it should be called app.config.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top