Web Deploy / Publish is adding a unknown connection string?

前端 未结 4 1272
小蘑菇
小蘑菇 2021-01-07 19:09

Previously publishing my web api app was working perfectly. Today i converted my app from being \"any cpu\" to x86. Now when i\'m publishing its adding a connection string t

4条回答
  •  鱼传尺愫
    2021-01-07 19:39

    The solution that worked for me, although it's more of a hack, was using the web deploy transformations to remove rogue connection string. See user2395249 answer:

    One-click publish in vs 2012: how to remove _ConnectionStringsToInsert?

提交回复
热议问题