user386167
user386167

Reputation:

Common config file in a multiple-project solution?

I'm working on a medium n-tier solution consisting of 2 web projects and a Winforms project as presentations, plus a Model and Service tier.

All these projects share the same settings (which are now hard-coded for simplicity). I'm looking to put these settings in a config file (not in the database) that can be reused among all the projects and tiers, but I'm not quite sure how. Any help would be much appreciated, thank you.

Upvotes: 0

Views: 1562

Answers (1)

Tim S.
Tim S.

Reputation: 56536

You can keep the config file in one of the projects physically, and in the rest, add the config file as a link.

Upvotes: 3

Related Questions