12 references to exclude
Microsoft.Build (12)
Construction\ProjectItemElement.cs (5)
122
return GetAttributeValue(XMakeAttributes.
exclude
, ref _exclude);
127
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || Remove.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.
exclude
, XMakeAttributes.remove);
128
ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || Update.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.
exclude
, XMakeAttributes.update);
129
SetOrRemoveAttribute(XMakeAttributes.
exclude
, value, ref _exclude, "Set item Exclude {0}", value);
296
public ElementLocation ExcludeLocation => GetAttributeLocation(XMakeAttributes.
exclude
);
Evaluation\ProjectParser.cs (3)
36
private static readonly HashSet<string> KnownAttributesOnItem = new HashSet<string> { XMakeAttributes.condition, XMakeAttributes.label, XMakeAttributes.include, XMakeAttributes.
exclude
, XMakeAttributes.remove, XMakeAttributes.keepMetadata, XMakeAttributes.removeMetadata, XMakeAttributes.keepDuplicates, XMakeAttributes.update, XMakeAttributes.matchOnMetadata, XMakeAttributes.matchOnMetadataOptions };
265
string exclude = element.GetAttribute(XMakeAttributes.
exclude
);
298
ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(exclude.Length == 0 || include.Length > 0, (XmlAttributeWithLocation)element.Attributes[XMakeAttributes.
exclude
]);
Utilities\EngineFileUtilities.cs (4)
374
XMakeAttributes.
exclude
,
434
XMakeAttributes.
exclude
,
467
XMakeAttributes.
exclude
,
512
XMakeAttributes.
exclude
,