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
Edit project .csproj file and add this:
false
It worked for me.