Here is the scenario,
Created a new Web application (MVC5, Empty template) as "MyMVCWebApplication". Default build configurations are Debug and Release as usual.
Import an existing project "Commont.Logger" which has Debug, Release, Test and Prod build configurations.
Once I added the Common.Logger project, VS 2013 show all Debug, Release, Test and Prod configurations in the build configuration drop down list (next to Run).
But I cannot do "Add Config Transform" for the web config (for Test and Prod) in the web project. Then I checked the "Configuration Manager", I noticed that it does not show Test and Prod configurations for the web project. In the Edit configuration it only has Rename and Remove, no "Add" function.
How can I add these Test and Prod build configurations to the Web project?
A build configuration describes a single build definition and a set of triggers for when a new build is created. Build configurations are defined by a BuildConfig , which is a REST object that can be used in a POST to the API server to create a new instance.
Open the Configuration Manager dialog box. In the Active solution configuration drop-down list, choose Edit. The Edit Solution Configurations dialog box opens. Select the solution configuration name you want to change.
In the Configuration Manager (Build menu) you see a list of the projects.
In the column Configuration you have a dropdown list. At the bottom of that list you have the option <New...>
update: As mentioned in the comments, this does not work straight away. Today I had a similar situation:
That added the app.Development.config
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With