XmlPreprocess released

Now here’s another very pretty tool that can use an introduction. I’m talking about the XmlPreprocessor which has just been released. It’s a command line driven utility which will alter, for example, your web.config or app.config based on paramters and some conditions.

The the following example:

<!– ifdef ${production} –>
<!– <compilation defaultLanguage=”c#” debug=”false”/> –>
<!– else –>
<compilation defaultLanguage=”c#” debug=”true”/>
<!– endif –>

It will produce the following config file upon production release:

<compilation defaultLanguage=”c#” debug=”false”/>

You can insert the tool inside your built process or include it in an MSI script. Very powerfull and probably what a lot of projects need. There’s some discussion going on here and a reply here, but I think that it’s a nice ‘hack’.

Get the tool here : http://xmlpreprocess.sourceforge.net/

You may also like...

1 Response

  1. I propose not to wait until you get big sum of money to buy goods! You should get the loan or just sba loan and feel fine

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.