SubstitutionsRoot Property

MSBuild

The XPath expression used to locate the list of substitutions to perform


Namespace: MSBuild.Community.Tasks.Xml
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Property SubstitutionsRoot As String
C#
public string SubstitutionsRoot { get; set; }
C++
public property string SubstitutionsRoot sealed  {
    String get();
    void set(String value);
}
J#
/** property */
public string get_SubstitutionsRoot();

/** property */
public void set_SubstitutionsRoot(string value);
JScript
public function get SubstitutionsRoot() : String

public function set SubstitutionsRoot(value : String);

Remarks

When not specified, the default is the document root: /

When there is a set of elements with the same name, and you want to update a single element which can be identified by one of its attributes, you need to include an attribute named 'key' in the namespace urn:msbuildcommunitytasks-xmlmassupdate. The value of the attribute is the name of the attribute that should be used as the unique identifier.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.