We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

There are two or more registry values with the name of '<name>' and the condition '<condition>'

Registry values with the same name cannot be placed in the same registry key unless they specify different conditions that would prevent them from both being added to the registry.

To correct this error

  1. Double-click the error in the Task List to go to the registry value in the Registry Editor.
  2. Delete the duplicate registry value, or select the Condition property in the Properties window and enter a different condition.

See Also

Condition Property | Registry Settings Management in Deployment