6 references to project
Microsoft.Build (6)
Evaluation\Preprocessor.cs (4)
238
String.Equals(XMakeElements.
project
, child.Name, StringComparison.Ordinal))
285
string projectSdk = source.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.
project
, source.Name, StringComparison.Ordinal) ? ((XmlElement)source).GetAttribute(XMakeAttributes.sdk) : String.Empty;
309
$"\r\n This import was added implicitly because the {XMakeElements.
project
} element's {XMakeAttributes.sdk} attribute specified \"{importSdk}\".";
350
if (clone.NodeType == XmlNodeType.Element && String.Equals(XMakeElements.
project
, child.Name, StringComparison.Ordinal) && clone.Attributes?[XMakeAttributes.sdk] != null)
Evaluation\ProjectParser.cs (2)
134
ProjectErrorUtilities.ThrowInvalidProject(ElementLocation.Create(_document.FullPath), "NoRootProjectElement", XMakeElements.
project
);
137
ProjectErrorUtilities.VerifyThrowInvalidProject(element.LocalName == XMakeElements.
project
, element.Location, "UnrecognizedElement", element.Name);