1 write to _projectRootElement
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
283
_projectRootElement
= projectRootElement;
28 references to _projectRootElement
Microsoft.Build (28)
Evaluation\Evaluator.cs (28)
665
string projectFile = string.IsNullOrEmpty(
_projectRootElement
.ProjectFileLocation.File) ? "(null)" :
_projectRootElement
.ProjectFileLocation.File;
690
MSBuildEventSource.Log.EvaluatePass0Start(
_projectRootElement
.ProjectFileLocation.File);
710
PerformDepthFirstPass(
_projectRootElement
);
883
if (
_projectRootElement
.Count > 0) // VB/C# will new up empty projects; they aren't worth recording
899
string output = string.Format(CultureInfo.CurrentUICulture, "###: MSBUILD: Evaluating or reevaluating project {0} with {1} global properties and {2} tools version, child count {3}, CurrentSolutionConfigurationContents hash {4} other properties:\n{5}",
_projectRootElement
.FullPath, globalPropertiesCount, _data.Toolset.ToolsVersion,
_projectRootElement
.Count, hash, propertyDump);
1248
if (string.IsNullOrEmpty(
_projectRootElement
.FullPath))
1250
SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(
_projectRootElement
.DirectoryPath) ?
1255
_projectRootElement
.DirectoryPath);
1262
string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(
_projectRootElement
.FullPath));
1263
string projectExtension = EscapingUtilities.Escape(Path.GetExtension(
_projectRootElement
.FullPath));
1265
string projectDirectory = EscapingUtilities.Escape(
_projectRootElement
.DirectoryPath);
1416
lazyEvaluator.ProcessItemElement(
_projectRootElement
.DirectoryPath, itemElement, conditionResult);
2044
string projectPath =
_projectRootElement
.FullPath != null ?
2045
_projectRootElement
.FullPath + projectNameEnding :
2088
_projectRootElement
.IsExplicitlyLoaded,
2212
if (string.Equals(
_projectRootElement
.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */)
2253
if (previouslyImportedAt.ContainingProject !=
_projectRootElement
&& importElement.ContainingProject !=
_projectRootElement
)
2255
parenthesizedProjectLocation = $"[{
_projectRootElement
.FullPath}]";
2736
_projectRootElement
);
2739
string definingProject =
_projectRootElement
.FullPath ?? string.Empty;
2747
_projectRootElement
);
2754
_projectRootElement
);
2811
_projectRootElement
);
2814
string definingProject =
_projectRootElement
.FullPath ?? string.Empty;
2836
ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName,
_projectRootElement
);