Reputation: 5596
I have a Visual Studio 2010 web-application solution I have created. In this solution I have created a new mode in the configuration manager called "MyProjectName". I have created an additional transform (I think you call it). i.e. Web.MyProjectName.config.
When I choose the publish option on the project, I have the "MyProjectName" option selected from the build mode.
However, the Web.MyProjectName.config is not copied to the published folder.
How do I get different Web.config's published depending on what configuration mode I have selected?
Thanks in advance.
Upvotes: 0
Views: 603
Reputation: 2523
You will need to copy your new config file using either of the two options:
(I prefer the first one)
Upvotes: 1