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?
Asked
Active
Viewed 477 times
1
-
alternate ways to change this attribute using msbuild are also welcome – Xander Aug 14 '09 at 20:38
1 Answers
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