13 references to project
Microsoft.Build (13)
Construction\ProjectImportElement.cs (4)
55
get => FileUtilities.FixFilePath(GetAttributeValue(XMakeAttributes.
project
));
58
ErrorUtilities.VerifyThrowArgumentLength(value, XMakeAttributes.
project
);
60
SetOrRemoveAttribute(XMakeAttributes.
project
, value, "Set Import Project {0}", value);
67
public ElementLocation ProjectLocation => GetAttributeLocation(XMakeAttributes.
project
);
Evaluation\Evaluator.cs (4)
2002
ProjectErrorUtilities.ThrowInvalidProject(importLocationInProject, "InvalidAttributeValue", String.Empty, XMakeAttributes.
project
, XMakeElements.import);
2032
ProjectErrorUtilities.ThrowInvalidProject(importLocationInProject, "InvalidAttributeValueWithException", EscapingUtilities.UnescapeAll(importExpressionEscapedItem), XMakeAttributes.
project
, XMakeElements.import, ex.Message);
2077
ProjectErrorUtilities.ThrowInvalidProject(importLocationInProject, "InvalidAttributeValueWithException", importFileUnescaped, XMakeAttributes.
project
, XMakeElements.import, ex.Message);
2494
ProjectErrorUtilities.ThrowInvalidProject(importElement.Location, "InvalidAttributeValueWithException", importExpandedWithDefaultPath, XMakeAttributes.
project
, XMakeElements.import, ex.Message);
Evaluation\Preprocessor.cs (1)
280
string importProject = ((XmlElement)child).GetAttribute(XMakeAttributes.
project
).Replace("--", "__");
Evaluation\ProjectParser.cs (2)
46
private static readonly HashSet<string> ValidAttributesOnImport = new HashSet<string> { XMakeAttributes.condition, XMakeAttributes.label, XMakeAttributes.
project
, XMakeAttributes.sdk, XMakeAttributes.sdkVersion, XMakeAttributes.sdkMinimumVersion };
457
ProjectXmlUtilities.VerifyThrowProjectRequiredAttribute(element, XMakeAttributes.
project
);
Utilities\EngineFileUtilities.cs (2)
418
XMakeAttributes.
project
,
494
XMakeAttributes.
project
,