asp.net - Exclude app.config from source control? -


What is the best way to allow team members to customize their app.config, but in version control one Have an official version? Best to exclude * .config files from source control, and what version control does an app.config.template file use?

The template method I've seen is the best way if you can automatically determine what's in it (Like running a script to check the appropriate values), you can include it in your creation process and automatically create the file from a template. If you can not determine automatically what to do, make sure your build process will check the config file and provide useful guidance to the developer as it should be configured before the build works.

> You want your scam to ignore the config file so that your gods did not mistake it in the repository.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -