Download this extension from the VS Gallery or get the CI build.
Tools to make it easy to work with parameters in Web Deploy (MSDeploy).
See the changelog for changes and roadmap.
- Generate Parameters.xml from Web.Config
- Generate SetParameters[Environment].xml
- Import missing parameters into SetParameters.xml files
- Nest SetParameters.xml files under Parameters.xml
Select the web.config in solution explorer and right-click.
Then select Generate Parameters.xml to have a Parameters.xml file automatically generated from settings in the web.config file.
To control which settings are automatically generated, adjust the settings in the Visual Studio Tools > Options dialog.
Select the Parameters.xml file in solution explorer and right-click.
Then select Generate SetParameters.xml.
A dialog will then give you the option to add an environment name to the new SetParameters.xml file to be generated.
Either enter an envionment name or leave it blank and then click Create. Then the new SetPameters.xml file is created.
If parameters have been added to the Parameters.xml file, the new parameters can be automatically added to a SetParameters.xml file. Just select the SetParameters.xml file in solution explorer and right-click.
Then select Import Missing Parameters to have any missing parameters automatically added to the selected file.
SetParameters*.xml files will automatically be nested under the Parameters.xml file.
To nest a SetParameters*.xml file that was created prior to installing this extension. Select the SetParameters*.xml file in solution explorer and right-click.
Then select Nest Under Parameters.xml to have the selected file nested under Parameters.xml.
When generating or nesting SetParameters*.xml files, the build action on those files will be set to Parameterization.
This setting will result in these files being copied to the package location and excluded from the package itself.
For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.