Upon one-click publish: Exception in executing publishing: An item with the same key has already been added

前端 未结 4 900
抹茶落季
抹茶落季 2021-01-21 06:03

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

4条回答
  •  悲哀的现实
    2021-01-21 06:58

    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.

提交回复
热议问题