6 references to taskName
Microsoft.Build (6)
Construction\ProjectUsingTaskElement.cs (4)
84
get => GetAttributeValue(XMakeAttributes.
taskName
);
88
ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.
taskName
);
89
SetOrRemoveAttribute(XMakeAttributes.
taskName
, value, "Set usingtask TaskName {0}", value);
172
public ElementLocation TaskNameLocation => GetAttributeLocation(XMakeAttributes.
taskName
);
Evaluation\ProjectParser.cs (2)
51
private static readonly HashSet<string> ValidAttributesOnUsingTask = new HashSet<string> { XMakeAttributes.condition, XMakeAttributes.label, XMakeAttributes.
taskName
, XMakeAttributes.assemblyFile, XMakeAttributes.assemblyName, XMakeAttributes.taskFactory, XMakeAttributes.architecture, XMakeAttributes.runtime, XMakeAttributes.requiredPlatform, XMakeAttributes.requiredRuntime, XMakeAttributes.overrideUsingTask };
511
ProjectErrorUtilities.VerifyThrowInvalidProject(element.GetAttribute(XMakeAttributes.
taskName
).Length > 0, element.Location, "ProjectTaskNameEmpty");