# Friday, August 31, 2007
« Versioning C# Projects with MSBuild | Main | CC.NET Fails With Path Not Found »

For reference, here's how you update your app.config appSettings using MSBuild Community Tasks XmlUpdate.  This example actually batches several app.configs that need changing.

<XmlUpdate

  XmlFileName="%(ConfigFilesToCobrand.FullPath)"

  XPath="//configuration/appSettings/add[@key='MarketSegmentID']/@value"

  Value="$(MarketSegmentId)" />

Comments are closed.