I realize that a billion people have asked about this error, but I\'ve looked at all of them. Mine seems different. I\'m not getting any sort of source code error, no stack trac
instead of deleting, go inside properties/PublishProfiles, open the .pubxml file and check to see if your connection strings have been repeated/duplicated. I had this issue, removed all the duplicate connection strings to leave one remaining and it solved my issue.