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
In the .pubxml file there where some extra connectionstrings added for some reason. Remove all of them and it should work fine, the default connectionstring will still be added.
I have a hunch that this has been added to the .pubxml when I fiddled a little with my publishing information but it wasn't removed when I switched back to my regular publish setup.
<_ConnectionStringsToInsert Include="MyProject" />
<_ConnectionStringsToInsert Include="Myproject_dev" />