1

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 this?

Xander
  • 9,069
  • 14
  • 70
  • 129

1 Answers1

1

Your problem seems similar to the one described in here: Stack overflow: MSBuild XmlMassUpdate Task.

Basically, when you have more than one child node inside a parent, you have to provide a key by which the update is going to find your node using xmu:key attribute like:

 xmu:key="nameOfTheAttribute" 

where nameOfTheAttribute is the attribute that's identifying the child node

Community
  • 1
  • 1
veljkoz
  • 8,384
  • 8
  • 55
  • 91