MyApp.exe.config and App.config

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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é
 
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
 
Back
Top