25 references to ProjectCollection
Microsoft.Build (25)
Definition\Project.cs (25)
1914Xml = ProjectRootElement.Create(xmlReader, ProjectCollection, 1957ProjectCollection.ProjectRootElementCache, 2050Trace.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())); 2062Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because {0} [{1}] [PC Hash {2}]", Xml.LastDirtyReason, FullPath, ProjectCollection.GetHashCode())); 2069if (_evaluatedToolsetCollectionVersion != ProjectCollection.ToolsetsVersion) 2073Trace.WriteLine(String.Format(CultureInfo.InvariantCulture, "MSBUILD: Is dirty because toolsets updated [{0}] [PC Hash {1}]", FullPath, ProjectCollection.GetHashCode())); 2089Trace.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())); 2453return ProjectCollection.IsBuildEnabled; 2499internal ILoggingService LoggingService => ProjectCollection.LoggingService; 2972ProjectCollection.AfterUpdateLoadedProjectGlobalProperties(Owner); 3188ProjectCollection.AfterUpdateLoadedProjectGlobalProperties(Owner); 3289if (!DisableMarkDirty && !ProjectCollection.DisableMarkDirty) 3343if (loggers == null && ProjectCollection.Loggers != null) 3345loggers = ProjectCollection.Loggers; 3348bool result = instance.Build(targets, loggers, remoteLoggers, null, ProjectCollection.MaxNodeCount, out _); 3683if (!SkipEvaluation && !ProjectCollection.SkipEvaluation && IsDirty) 3707return new ProjectInstance(_data, DirectoryPath, FullPath, ProjectCollection.HostServices, ProjectCollection.EnvironmentProperties, settings); 3722ProjectCollection.MaxNodeCount, 3723ProjectCollection.EnvironmentProperties, 3726ProjectCollection, 3728ProjectCollection.ProjectRootElementCache, 3753_evaluatedToolsetCollectionVersion = ProjectCollection.ToolsetsVersion; 3771foreach (ProjectPropertyInstance property in ProjectCollection.GlobalPropertiesCollection) 3811_renameHandler = (string oldFullPath) => ProjectCollection.OnAfterRenameLoadedProject(oldFullPath, Owner);