Configuration Block - What to do if the file doesn't exist.

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

What do you do if the configuration file for you configuration block doesn't
exist? There doesn't seem to be an easy way to create the file. I could just
create the file but that implies I know the name of the file which I can't
figure out how to do unless I read in my app config file and parse through
the setting.

TIA - Jeff.
 
Doesn't Web.config if you are using a web application or
myappname.exe.config if you are making a windows application work?
Normally that is where you place the settings in .NET applications.

Best regards
Niklas Engfelt
 

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

Back
Top