I am creating a publishable package and when I navigate to obj\\Debug\\Package\\PackageTmp directory, I am seeing the web.config\'s connection string is replaced by
I had a similar issue when I was trying to create a web project package externally for a WiX setup according to the Travis Illig instructions. I solved it by adding the AutoParameterizationWebConfigConnectionStrings=False to the MSBuild/@Properties: