3

Is it possible to add a fourth web.config transformation with Visual Studio? I have three transformations: enter image description here

But when I want to add one the option in contextual menu is disabled: enter image description here

(It is in French, it means "Add Configuration transformations")

bAN
  • 13,375
  • 16
  • 60
  • 93

1 Answers1

7

On the top of your screen where you change it from "Debug" to "Release" etc. Open the drop down, go to "Configuration Manager" in the "Active solution configuration:" list drop it down and select "New".

When you've added the new one(s), you may need to refresh your project or close VS and re-open, then when you right-click a the web.config you will get the new configurations in the list.

Hope that makes sense. :)

enter image description here

enter image description here

Phill
  • 18,398
  • 7
  • 62
  • 102