22 references to AbsolutePath
Microsoft.Build (12)
Construction\Solution\ProjectInSolution.cs (1)
315
FileStream fs = File.OpenRead(
AbsolutePath
);
Construction\Solution\SolutionProjectGenerator.cs (7)
277
xw.WriteAttributeString("AbsolutePath", project.
AbsolutePath
);
1122
item = projectInstance.AddItem("ProjectReference", EscapingUtilities.Escape(projectToAdd.
AbsolutePath
), null);
1295
string webConfigPath = Path.Combine(project.
AbsolutePath
, "web.config");
1360
baseName = project.
AbsolutePath
;
1417
AddProjectBuildTask(traversalProject, projectConfiguration, target, targetName, EscapingUtilities.Escape(project.
AbsolutePath
), String.Empty, outputItem);
2118
AddProjectBuildTask(traversalProject, projectConfiguration, targetElement, targetToBuild, "@(ProjectReference)", $"'%(ProjectReference.Identity)' == '{EscapingUtilities.Escape(project.
AbsolutePath
)}'", outputItemName);
2213
Project msbuildProject = new Project(project.
AbsolutePath
, _globalProperties, childProjectToolsVersion);
Graph\GraphBuilder.cs (3)
346
newEntryPoints.Add(new ProjectGraphEntryPoint(project.
AbsolutePath
, projectGlobalProperties));
370
solutionDependenciesForProject.Add(dependencyProject.
AbsolutePath
);
376
solutionDependencies.Add(project.
AbsolutePath
, solutionDependenciesForProject);
Graph\ProjectGraph.cs (1)
691
ProjectGraphNode GetNodeForProject(ProjectInSolution project) => EntryPointNodes.First(node => string.Equals(node.ProjectInstance.FullPath, project.
AbsolutePath
));
Microsoft.Build.Engine.UnitTests (10)
Construction\SolutionFile_OldParser_Tests.cs (9)
2429
solution.ProjectsInOrder[0].
AbsolutePath
.ShouldBe(Path.GetFullPath(Path.Combine(Path.GetDirectoryName(solution.FullPath)!, expectedRelativePath)));
2516
project.
AbsolutePath
.ShouldNotContain("\\");
2519
if (project.
AbsolutePath
.Contains(Path.DirectorySeparatorChar.ToString()))
2521
project.
AbsolutePath
.ShouldContain("/");
2550
if (project.
AbsolutePath
.Contains("\\"))
2552
project.
AbsolutePath
.ShouldNotContain("\\");
2583
project.
AbsolutePath
.ShouldNotContain("\\");
2586
project.
AbsolutePath
.ShouldContain("/");
2589
project.
AbsolutePath
.ShouldContain("Sub");
Construction\SolutionProjectGenerator_Tests.cs (1)
3002
projectInSolution.
AbsolutePath
.ShouldBe(Path.Combine(solution.SolutionFileDirectory, projectInSolution.RelativePath));