A configuration with the same name already exists

I have a solution with 10+ projects (VS2010 SP1). I have the following configurations defined in the solution:

  • Debug
  • Debug-qa
  • Release uat
  • Release production

This allows me to easily configure specific settings for each deployment scenario. However, for some reason, I cannot configure the settings as I would like. See this screenshot:

Screenshot of Configuration Manager

Pay attention to the selected projects / configurations. I cannot create a “Debug-QA” configuration for these projects (by selecting <New> in the cell for this particular project). When I try to add a new "Debug-QA" configuration to my DataUtility project, for example, Visual Studio yells at me:

This configuration cannot be created because there is already one solution configuration with the same name.

I know that it is! I am trying to add configuration to a project! What am I missing here? I want all projects to have all 5 configurations. I have the same problem when trying to map (create) platforms (for example, adding the platform "Any processor" to the DataUtility project).

+86
visual-studio-2010 deployment configuration
Oct 11 '12 at 18:48
source share
1 answer

Make sure that you use the drop-down list from the grid (and not the one at the top of the dialog box), and do not select the "Create new configuration configurations" checkbox when adding a new project configuration.

+197
Oct 11 '12 at 19:11
source share



All Articles