GithubHelp home page GithubHelp logo

parameterizationpreview's Introduction

ParameterizationPreview

https://visualstudiogallery.msdn.microsoft.com/6e67f6dc-cce6-40fe-9561-8d618e0cdafa

Overview

This Visual Studio extension provides the easiest way to preview MSDeploy (WebDeploy) parameterization against an applications config file. The extension currently supports VS2012, VS2013 and VS2015.

To use the tool simply right click on a "SetParamaters.[configuration].xml" (i.e. SetParameters.Release.xml) file in the Solution Explorer and choose the "ParameterizationPreview" option. A few command windows will pop up then close and eventually display the comparison of the original config file against the parameterized config.

Behind the scenes a MSDeploy package is created from the config files and then deploys that package to a temp directory at the root of the solution. Finally a VS file comparison of the resulting parameterized config against the original is displayed.

V1.1

Added right click menu command to compare Config Transform result with Parameterization result. If no config transform is found which matches the configuration name of the SetParameters file an error will be thrown. For example, SetParameters.DEV1.xml would require a transform file named Web.DEV1.config.

XML formatting was also added to standardize the files for easier comparison.

V1.2

Upgraded to support VS2015.

Troubleshooting

In some situations there may be an issue with the creation of the temporary MSDeploy package or parameterizing the config file. When this occurs the preview will fail with few details. You can run the preview in troubleshooting mode by holding down the control (CTRL) button when right clicking the ParameterizationPreview option. This will leave each command window open to review its contents for errors/information and then you must manually close each window.

MSDeploy Parameterization Links

Here are a few good posts about Parameterization:

parameterizationpreview's People

Contributors

rschiefer avatar

Stargazers

Mike Bowers avatar Nick Jones avatar Giorgi Chakhidze avatar

Watchers

James Cloos avatar  avatar

parameterizationpreview's Issues

Does not work with nested SetParameter.[env].xml files under Parameters.xml

I use the "Web Deploy Parameters Toolkit" visual studio extension to set up my parameters.xml file in the project. It does some nice things like generate a parameters.xml file from web.config, nest the setParameters.[env].xml files under the main parameters.xml file and automatically copy the setparameters files to the outputted package folder.
I was hoping to use your useful tool to preview the changed web.config files but it looks like it doesn't work when the setParameters files are nested.
Any chance you could support this scenario?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.