How to get rid of “$(ReplacableToken…)” in web.config completely

前端 未结 4 1785
伪装坚强ぢ
伪装坚强ぢ 2021-01-30 08:43

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

4条回答
  •  无人共我
    2021-01-30 09:02

    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:

提交回复
热议问题