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

前端 未结 4 1870
伪装坚强ぢ
伪装坚强ぢ 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:01

    I had to do what the accepted answer said, but instead in the Properties/PublishProfiles/__THEPROFILE__.pubxml file rather than the .csproj file.

    (this may because I'm using VS2012?)

提交回复
热议问题