Questions tagged [xmlmassupdate]

8 questions
5
votes
1 answer

MSBuild XmlMassUpdate Task

I wanted to ask a quick question regarding the behaviour of the MSBuild task XmlMassUpdate. Has anyone found that the task will only copy unique nodes over to the content XML? For example, if I have a client node which has multiple children called…
Richard Parkins
4
votes
3 answers

XmlMassUpdate - How to delete a node

We would like to use msbuild to clear the connectionStrings section from a web.config file. What is the easiest way to do that? We have previously used XmlMassUpdate to replace values (see also this question: XmlMassUpdate - Replace Value Node), but…
Ole Lynge
  • 4,457
  • 8
  • 43
  • 57
4
votes
1 answer

XmlMassUpdate - Replace Value Node

I'm trying to use XmlMassUpdate to update my config files based on build Version type. There seems to be no documentation on how to update the new app.config (vs2008) settings formats anywhere. This is the config…
Tristan
2
votes
1 answer

Using XmlMassUpdate to update all appSettings

I want to use the XmlMassUpdate task in MSBuild to update appSettings in all app.configs. The problem I have is that some of the app.configs don't have an appSettings element, and I can't get XmlMassUpdate to skip those. Here's what I've got so…
Ray
  • 45,695
  • 27
  • 126
  • 169
1
vote
1 answer

MSBuild Contrib XMLMassUpdate and NHibernate configuration

I'm attempting to build up an MSBuild file to deploy a set of several websites to multiple environments. At the moment, I've built the project and have it dumped into a directory. I'm using the variable $(AdminConsoleConfigFilePath) to refer to the…
1
vote
1 answer

XMLMASSUPDATE MSBUILD Tigris Tasks

I am trying to set the compiler options attribute from a value to blank using the msbuild task of xmlmassupdate. Unfortunately it is only changing the c# (the first one) and not the second one. Does anyone know the syntax for xmlmassupdate to do…
Xander
  • 9,069
  • 14
  • 70
  • 129
0
votes
1 answer

How to add new sections to a web.config using xmlmassupdate (msbuild)

As part of our installation of new versions we have web.config.delta files that adjust the existing web.config files as appropriate. Now I know how to add/update/remove AppSetting keys (as all the posts I've found on this have been about that) but…
Jen
  • 1,964
  • 9
  • 33
  • 59
0
votes
1 answer

MSBuild and Xmlmassupdate having trouble changing xml

Using XmlMassupdate how to change: Change this: OLDVALUE
Xander
  • 9,069
  • 14
  • 70
  • 129