Anu
Anu

Reputation: 233

Error while publishing a vs project to Azure "An item with the same key has already been added"

Recently I have started getting this error while publishing, it published twice, and then suddenly this error starts appearing, no idea what this is all about

enter image description here

Upvotes: 4

Views: 4579

Answers (2)

A. Morel
A. Morel

Reputation: 10344

This is a bug that is fixed by an release.

Every time you publish a new MSDeployParameterValue appears in my Web Deploy.pubxml file that create a duplicate.

https://developercommunity.visualstudio.com/content/problem/9339/duplicate-msdeployparametervalue.html

Here to update Visual Studio 2017: https://learn.microsoft.com/en-us/visualstudio/install/update-visual-studio

Upvotes: 0

Anu
Anu

Reputation: 233

delete the Publish profiles in the Properties directory

Upvotes: 6

Related Questions