25 references to ProjectCollection
Microsoft.Build (25)
Definition\Project.cs (25)
1914Xml = ProjectRootElement.Create(xmlReader, ProjectCollection, 1957ProjectCollection.ProjectRootElementCache, 2051Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Explicitly marked dirty, eg., because a global property was set, or an import, such as a .user file, was created on disk [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2063Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because {0} [{1}] [PC Hash {2}]", Xml.LastDirtyReason, FullPath, ProjectCollection.GetHashCode())); 2070if (_evaluatedToolsetCollectionVersion != ProjectCollection.ToolsetsVersion) 2074Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because toolsets updated [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2090Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because {0} [{1} - {2}] [PC Hash {3}]", reason, FullPath, import.ImportedProject.FullPath == FullPath ? String.Empty : import.ImportedProject.FullPath, ProjectCollection.GetHashCode())); 2454return ProjectCollection.IsBuildEnabled; 2500internal ILoggingService LoggingService => ProjectCollection.LoggingService; 2973ProjectCollection.AfterUpdateLoadedProjectGlobalProperties(Owner); 3189ProjectCollection.AfterUpdateLoadedProjectGlobalProperties(Owner); 3290if (!DisableMarkDirty && !ProjectCollection.DisableMarkDirty) 3344if (loggers == null && ProjectCollection.Loggers != null) 3346loggers = ProjectCollection.Loggers; 3349bool result = instance.Build(targets, loggers, remoteLoggers, null, ProjectCollection.MaxNodeCount, out _); 3685if (!SkipEvaluation && !ProjectCollection.SkipEvaluation && IsDirty) 3709return new ProjectInstance(_data, DirectoryPath, FullPath, ProjectCollection.HostServices, ProjectCollection.EnvironmentProperties, settings); 3724ProjectCollection.MaxNodeCount, 3725ProjectCollection.EnvironmentProperties, 3728ProjectCollection, 3730ProjectCollection.ProjectRootElementCache, 3755_evaluatedToolsetCollectionVersion = ProjectCollection.ToolsetsVersion; 3773foreach (ProjectPropertyInstance property in ProjectCollection.GlobalPropertiesCollection) 3813_renameHandler = (string oldFullPath) => ProjectCollection.OnAfterRenameLoadedProject(oldFullPath, Owner);