1 write to _projectRootElement
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
257_projectRootElement = projectRootElement;
21 references to _projectRootElement
Microsoft.Build (21)
Evaluation\Evaluator.cs (21)
629string projectFile = string.IsNullOrEmpty(_projectRootElement.ProjectFileLocation.File) ? "(null)" : _projectRootElement.ProjectFileLocation.File; 648MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File); 668PerformDepthFirstPass(_projectRootElement); 807if (_projectRootElement.Count > 0) // VB/C# will new up empty projects; they aren't worth recording 823string 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); 1172if (string.IsNullOrEmpty(_projectRootElement.FullPath)) 1174SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(_projectRootElement.DirectoryPath) ? 1179_projectRootElement.DirectoryPath); 1186string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.FullPath)); 1187string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.FullPath)); 1189string projectDirectory = EscapingUtilities.Escape(_projectRootElement.DirectoryPath); 1340lazyEvaluator.ProcessItemElement(_projectRootElement.DirectoryPath, itemElement, conditionResult); 1936string projectPath = _projectRootElement.FullPath != null ? 1937_projectRootElement.FullPath + projectNameEnding : 1980_projectRootElement.IsExplicitlyLoaded, 2104if (string.Equals(_projectRootElement.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */) 2145if (previouslyImportedAt.ContainingProject != _projectRootElement && importElement.ContainingProject != _projectRootElement) 2147parenthesizedProjectLocation = $"[{_projectRootElement.FullPath}]";