12 references to exclude
Microsoft.Build (12)
Construction\ProjectItemElement.cs (5)
122return GetAttributeValue(XMakeAttributes.exclude, ref _exclude); 127ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || Remove.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.exclude, XMakeAttributes.remove); 128ErrorUtilities.VerifyThrowInvalidOperation(String.IsNullOrEmpty(value) || Update.Length == 0, "OM_EitherAttributeButNotBoth", ElementName, XMakeAttributes.exclude, XMakeAttributes.update); 129SetOrRemoveAttribute(XMakeAttributes.exclude, value, ref _exclude, "Set item Exclude {0}", value); 296public ElementLocation ExcludeLocation => GetAttributeLocation(XMakeAttributes.exclude);
Evaluation\ProjectParser.cs (3)
36private 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 }; 265string exclude = element.GetAttribute(XMakeAttributes.exclude); 298ProjectXmlUtilities.VerifyThrowProjectInvalidAttribute(exclude.Length == 0 || include.Length > 0, (XmlAttributeWithLocation)element.Attributes[XMakeAttributes.exclude]);
Utilities\EngineFileUtilities.cs (4)
376XMakeAttributes.exclude, 436XMakeAttributes.exclude, 469XMakeAttributes.exclude, 514XMakeAttributes.exclude,