I have a few connection strings in my web.config that I want to remove using web.config transformation when I deploy my web app. I had found the MSDN page talking about web.config transformation but it only list a "Remove" which removes the first entry or the "RemoveAll" that deletes them all. Is there a way to only remove specific connection strings?
<connectionStrings>
<add name="DB"
connectionString="Data Source=; Initial Catalog=; User ID=; Password=;"
providerName="System.Data.SqlClient" />
<add name="ErrorLog"
connectionString="Data Source=; Initial Catalog=; User ID=; Password=;"
providerName="System.Data.SqlClient" />
<add name="SiteFiles"
connectionString="" />
<add name="FanFiles"
connectionString="" />