I've got three databases for a project of mine. I also have several environments that need to be managed. All developer boxes, a dev machine, and a staging box. So if I have 3 developers and three databases that means 11 connection strings to manage (as each developer has a local copy of the database). To help in managing these connection string I have several solution configuration settings.
In addition to this we have several class libraries, each with it's own unit test project. Several of these unit test projects also must specify connection strings to be used during testing.
So if I have a single web.config and four test projects with app.config files I have to have 5 copies of these connection strings.
There has GOT to be a better way than copying/pasting these connection strings between all of these config files.
Does anyone have any recommendations? I looked into the transformations that occur with web.config and web deployment projects but this doesn't help during development / test time.
Any ideas?
Thanks, Mike