6 references to defaultTargets
Microsoft.Build (6)
Construction\ProjectRootElement.cs (3)
481
get => GetAttributeValue(XMakeAttributes.
defaultTargets
);
484
set => SetOrRemoveAttribute(XMakeAttributes.
defaultTargets
, value, "Set Project DefaultTargets to '{0}'", value);
652
public ElementLocation DefaultTargetsLocation => GetAttributeLocation(XMakeAttributes.
defaultTargets
);
Evaluation\Preprocessor.cs (3)
255
string outerDefaultTargets = destinationDocument.DocumentElement.GetAttribute(XMakeAttributes.
defaultTargets
).Trim();
259
string innerDefaultTargets = ((XmlElement)child).GetAttribute(XMakeAttributes.
defaultTargets
).Trim();
263
destinationDocument.DocumentElement.SetAttribute(XMakeAttributes.
defaultTargets
, innerDefaultTargets);