2 writes to ImportedProject
Microsoft.Build (2)
Definition\ResolvedImport.cs (2)
29
ImportedProject
= importedProject;
43
ImportedProject
= importedProject;
26 references to ImportedProject
Microsoft.Build (14)
Definition\Project.cs (8)
2081
if (import.
ImportedProject
.Version != import.VersionEvaluated || _evaluatedVersion < import.VersionEvaluated)
2085
string reason = import.
ImportedProject
.LastDirtyReason;
2089
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()));
2862
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Top).Select(i => i.
ImportedProject
))
2877
foreach (ProjectRootElement import in _data.ImportClosure.Where(i => i.ImportingElement?.ImplicitImportLocation == ImplicitImportLocation.Bottom).Select(i => i.
ImportedProject
))
3365
if (_data.ImportClosure.Any(import => ReferenceEquals(import.
ImportedProject
, xmlRootElement)))
3927
IEnumerable<ProjectRootElement> children = _data.ImportClosure.Where(resolvedImport => ReferenceEquals(resolvedImport.ImportingElement, import)).Select(triple => triple.
ImportedProject
);
Evaluation\Preprocessor.cs (3)
68
AddToImportTable(entry.ImportingElement.XmlElement, entry.
ImportedProject
);
201
AddToImportTable(xmlElement, import.
ImportedProject
);
212
AddToImportTable(xmlElement, import.
ImportedProject
);
Instance\ProjectInstance.cs (3)
3239
importPaths.Add(resolvedImport.
ImportedProject
.FullPath);
3252
importPathsIncludingDuplicates.Add(resolvedImport.
ImportedProject
.FullPath);
3426
return import.
ImportedProject
.FullPath;
Microsoft.Build.Engine.OM.UnitTests (7)
Definition\Project_Tests.cs (4)
616
object.ReferenceEquals(imports.First().
ImportedProject
, ProjectRootElement.Open(importPath)).ShouldBeTrue();
1463
project.Imports.First().
ImportedProject
.ShouldBeSameAs(import);
1548
project.Imports.First().
ImportedProject
.ShouldBeSameAs(import);
1549
newProject.Imports.First().
ImportedProject
.ShouldBeSameAs(import);
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (2)
289
Verify(view.
ImportedProject
, real.
ImportedProject
);
ObjectModelRemoting\RemoteProjectsProviderMock\DirectlyRemotedClasses.cs (1)
31
this.ImportedProject = exporter.Export<ProjectElement, MockProjectRootElementLinkRemoter>(resolvedImport.
ImportedProject
);
Microsoft.Build.Engine.UnitTests (4)
Evaluation\Preprocessor_Tests.cs (2)
994
var virtualImport = project.Imports.First(i => i.
ImportedProject
.FullPath.StartsWith(projectPath + ".SdkResolver"));
995
string virtualProjectPath = virtualImport.
ImportedProject
.FullPath;
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
144
Assert.Equal(_sdkPropsPath, initialResolvedImport.
ImportedProject
.FullPath);
148
Assert.Equal(_sdkTargetsPath, finalResolvedImport.
ImportedProject
.FullPath);
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
230
GatherAndEvaluatedTasksInFile(import.
ImportedProject
, p, usingTasks);