Is there a way to disable connection strings auto generation in publish profile? I would like to generate package and SetParameters file with parameters specified in Parameters.xml only, without any connection strings.
Asked
Active
Viewed 1,082 times
1
-
1http://stackoverflow.com/questions/14865379/removing-connectionstring-when-deploying-with-visual-studio-2012 can be helpful to you. Have a look at that Thread. – Jenish Rabadiya Jan 13 '15 at 11:22
-
AutoParameterizationWebConfigConnectionStrings doesn't work for me. I added it to proj file, but Publish command still creates connection string parameters in Publish profile. – Roman Kuzyk Jan 13 '15 at 11:52
-
1I think you also need to add this to your web.config transformation `
1 Answers
1
AutoParameterizationWebConfigConnectionStrings with <UpdateDestWebConfig>False</UpdateDestWebConfig>
actually works. Thanks.

Roman Kuzyk
- 241
- 3
- 15