I am separating my web.config
into several files, for example, there is now connections.config
that my web.config
refer as follows <connectionStrings configSource="connections.config"/>
I will upload this connections.config files to the development data, but on the production server there will be one of them with the production connection data.
How do I not publish the files that are in the project, with the development data, on top of what is on the server.
I publish the system by right-clicking the project, publisher. where I set up a profile of FTP
.
What do I need to do to never publish the file connections.config
?
Updating:
I'm using VS2015