Code Monkey home page Code Monkey logo

parametersxmladdin's Introduction

Build Status

MSDeploy Parameters.Xml Generator

A tool to generate parameters.xml files for MSdeploy from existing web.config files.

Once the VSIX package is installed, to use right click on a web.config file in Solution Explorer and the parameters.xml file will be generated using the current web.config entries as default values for both configuration/applicationSettings and configuration/AppSettings.

If the parameters.xml already exists in the folder (even if it is not a file in the project) you will prompted before it is overwritten.

For more details see the wiki. You can also install the package from Visual Studio gallery

parametersxmladdin's People

Contributors

rfennell avatar sharwell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

parametersxmladdin's Issues

Update for VS2017

The VSIX package model differs for VS2017, this package will need rebuilding.

I think the best option might be to start a new version of the package.

I don't intend to make this change until we get an RTM of VS2017

xml element case sensitive

generate parameters.xml content


command line execute
msdeploy -verb:sync -source:contentPath=.... -dest:package=xxx.zip -declareParamFile="parameters.xml"

response
Error: 需要元素 'parameterEntry'。
parameters.xml
Error count: 1.

if change parameters.xml content


execute correct

Request for settings option to change default token format

Not an issue but a simple feature request. In VS under Tools/Options menu and then 'Parameters XML Addin', could you please add an option to change the pre and post tag/token characters? You currently default to double underscore. It would be immensely handy to change these since I use the popular "Replace Tokens" TFS task from Guillaume Rochon (found in TFS marketplace) - which defaults to "#{" and "}#".

Thanks for your consideration!
Chris

This extension is not installable on any currently installed products.

When I try to install the plugin the installation does not correctly install.

The log result:

04/12/2015 11:05:10 - Searching for applicable products...
04/12/2015 11:05:11 - Found installed product - Microsoft Visual Studio Premium 2013
04/12/2015 11:05:11 - Found installed product - Microsoft Visual Studio Professional 2013
04/12/2015 11:05:11 - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
04/12/2015 11:05:11 - Found installed product - Global Location
04/12/2015 11:05:11 - Found installed product - ssms
04/12/2015 11:05:11 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
at VSIXInstaller.App.InitializeInstall()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

Build action on added parameters.xml

The parameters.xml file this is added is set to a build action of 'content'. It should really be 'none' so it is not copied to the deployed web site

Synchronous load

Hello,

The extension generates a warning when installed on VS 2019.
It seems to be using a synchronous load, which is now deprecated.

image

Cheers !

Tried it on my web.config - rolled back

I wanted to understand how to generate a nested parameters in parameters.xml - for that, tried to use this plugin. But this plugin did not generate anything for this parameter in web.config:

<mycompany>
  <clientweb enableuserregistration="true" enablecustomerautoredirect="false">
    <defaultSSOFailedLogin title="Login error" description="Unable to log in" />
  </clientweb>
</mycompany>

Nice to have: make the casing for defaultvalue configurable

Thanks for your great extension!

Here's a small change that would make it even better for me: make the casing for the "defaultvalue" attribute value configurable.

Now it's always an uppercase version of the "name" attribute value: defaultvalue="CDNURI".
An alternative casing option I would like to have is leaving the case unchanged: defaultvalue="CdnUri"

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.