6 references to Update
Microsoft.Build (6)
Construction\ProjectItemElement.cs (4)
105
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || (Remove.Length == 0 &&
Update
.Length == 0), "OM_OneOfAttributeButNotMore", ElementName, XMakeAttributes.include, XMakeAttributes.remove, XMakeAttributes.update);
128
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) ||
Update
.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.exclude, XMakeAttributes.update);
149
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || (Include.Length == 0 &&
Update
.Length == 0), "OM_OneOfAttributeButNotMore", ElementName, XMakeAttributes.include, XMakeAttributes.remove, XMakeAttributes.update);
480
ErrorUtilities.VerifyThrowInvalidOperation(parent.Parent is ProjectTargetElement || (Include.Length > 0 ||
Update
.Length > 0 || Remove.Length > 0), "OM_ItemsOutsideTargetMustHaveIncludeOrUpdateOrRemove");
Definition\Project.cs (1)
2817
SingleItemSpecProvenance(itemElement.
Update
, itemElement.UpdateLocation, Operation.Update) ?? SingleItemSpecProvenance(itemElement.Remove, itemElement.RemoveLocation, Operation.Remove) :
Evaluation\LazyItemEvaluator.cs (1)
537
ProcessItemSpec(rootDirectory, itemElement.
Update
, itemElement.UpdateLocation, operationBuilder);