2 writes to ImportedProject
Microsoft.Build (2)
Definition\ResolvedImport.cs (2)
26
ImportedProject
= importedProject;
40
ImportedProject
= importedProject;
21 references to ImportedProject
Microsoft.Build (19)
Definition\Project.cs (10)
2116
if (import.
ImportedProject
.Version != import.VersionEvaluated || _evaluatedVersion < import.VersionEvaluated)
2120
string reason = import.
ImportedProject
.LastDirtyReason;
2124
Trace.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()));
2307
if (import.ImportingElement != null && !import.
ImportedProject
.IsEphemeral) // Exclude outer project itself and SDK-resolver synthesized imports
2330
if (import.ImportingElement != null && !import.
ImportedProject
.IsEphemeral) // Exclude outer project itself and SDK-resolver synthesized imports
2912
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Top).Select(i => i.
ImportedProject
))
2927
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Bottom).Select(i => i.
ImportedProject
))
3416
if (_data.ImportClosure.Any(import => ReferenceEquals(import.
ImportedProject
, xmlRootElement)))
3979
IEnumerable<ProjectRootElement> children = _data.ImportClosure.Where(resolvedImport => ReferenceEquals(resolvedImport.ImportingElement, import)).Select(triple => triple.
ImportedProject
);
Evaluation\Preprocessor.cs (3)
71
AddToImportTable(entry.ImportingElement.XmlElement, entry.
ImportedProject
);
204
AddToImportTable(xmlElement, import.
ImportedProject
);
215
AddToImportTable(xmlElement, import.
ImportedProject
);
Instance\ProjectInstance.cs (6)
509
if (import.
ImportedProject
!= null)
511
paths.Add(import.
ImportedProject
.FullPath);
524
if (import.
ImportedProject
!= null)
526
paths.Add(import.
ImportedProject
.FullPath);
3417
importPaths.Add(resolvedImport.
ImportedProject
.FullPath);
3430
importPathsIncludingDuplicates.Add(resolvedImport.
ImportedProject
.FullPath);
NuGet.CommandLine.XPlat (2)
Utility\MSBuildAPIUtility.cs (2)
434
ProjectRootElement directoryBuildPropsRootElement = project.Imports.FirstOrDefault(i => i.
ImportedProject
.FullPath.Equals(directoryPackagesPropsPath, PathUtility.GetStringComparisonBasedOnOS())).
ImportedProject
;