1 write to _projectRootElement
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
284
_projectRootElement
= projectRootElement;
28 references to _projectRootElement
Microsoft.Build (28)
Evaluation\Evaluator.cs (28)
709
string projectFile = string.IsNullOrEmpty(
_projectRootElement
.ProjectFileLocation.File) ? "(null)" :
_projectRootElement
.ProjectFileLocation.File;
735
MSBuildEventSource.Log.EvaluatePass0Start(
_projectRootElement
.ProjectFileLocation.File);
758
PerformDepthFirstPass(
_projectRootElement
);
944
if (
_projectRootElement
.Count > 0) // VB/C# will new up empty projects; they aren't worth recording
960
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);
1320
if (string.IsNullOrEmpty(
_projectRootElement
.FullPath))
1322
SetBuiltInProperty(ReservedPropertyNames.ProjectDirectory, string.IsNullOrEmpty(
_projectRootElement
.DirectoryPath) ?
1327
_projectRootElement
.DirectoryPath);
1334
string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(
_projectRootElement
.FullPath));
1335
string projectExtension = EscapingUtilities.Escape(Path.GetExtension(
_projectRootElement
.FullPath));
1337
string projectDirectory = EscapingUtilities.Escape(
_projectRootElement
.DirectoryPath);
1488
lazyEvaluator.ProcessItemElement(
_projectRootElement
.DirectoryPath, itemElement, conditionResult);
2114
string projectPath =
_projectRootElement
.FullPath != null ?
2115
_projectRootElement
.FullPath + projectNameEnding :
2158
_projectRootElement
.IsExplicitlyLoaded,
2282
if (string.Equals(
_projectRootElement
.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */)
2323
if (previouslyImportedAt.ContainingProject !=
_projectRootElement
&& importElement.ContainingProject !=
_projectRootElement
)
2325
parenthesizedProjectLocation = $"[{
_projectRootElement
.FullPath}]";
2806
_projectRootElement
);
2809
string definingProject =
_projectRootElement
.FullPath ?? string.Empty;
2817
_projectRootElement
);
2824
_projectRootElement
);
2881
_projectRootElement
);
2884
string definingProject =
_projectRootElement
.FullPath ?? string.Empty;
2906
ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName,
_projectRootElement
);