We have a development database and a production database. What I'm trying to prevent is to change:
connectionString="Data Source=server;Initial Catalog=test; connectionString="Data Source=server;Initial Catalog=live;
We have two places where we deploy the site. One for testing and one live.
Is there an easy way to stop us from changing the connection string every time we want to download or test?
We are using the team foundation server, I have no idea how to set up the build server or create definitions, so you are looking for something simple, if there is something.
c # visual-studio-2010 connection-string
James wilson
source share