MyApp.exe.config and App.config

G

Guest

In development for a windows app, is it proper to manipulate and keep
versions of the MyApp.exe.config or just the App.config file?
 
J

José Joye

With VS2003, you have better to name your config file "App.config". Doing
this way, it will automatically be copied to your bin file and renamed so as
to match your binary file.

- José
 
J

Jay B. Harlow [MVP - Outlook]

Craig,
I normally add a app.config file to my VS.NET project which I maintain as a
baseline for the executable.

VS.NET will copy the above app.config to myapp.exe.config file in the output
(bin) folder of the project.

Once the project is deployed to a users machine, via a setup project for
example. I will change myapp.exe.config on a per machine basis, with the
understanding that any future deployments (setup projects) may overwrite the
existing file.

Hope this helps
Jay
 

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

Similar Threads


Top