Xander
Xander

Reputation: 9171

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

Upvotes: 1

Views: 483

Answers (1)

veljkoz
veljkoz

Reputation: 8514

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

Upvotes: 1

Related Questions