1 write to DirectoryPath
Microsoft.Build (1)
Instance\ProjectInstance.cs (1)
3171
DirectoryPath
= Path.GetDirectoryName(projectFile)
25 references to DirectoryPath
dotnet-aot (1)
parent\dotnet\MsbuildProject.cs (1)
49
ProjectDirectory = PathUtilities.EnsureTrailingSlash(ProjectRootElement.
DirectoryPath
);
Microsoft.Build (24)
Construction\ProjectRootElement.cs (2)
1544
Directory.CreateDirectory(
DirectoryPath
);
1683
/// Reloading from an XMLReader will retain the previous root element location (<see cref="FullPath"/>, <see cref="
DirectoryPath
"/>, <see cref="ProjectFileLocation"/>).
Definition\Project.cs (3)
764
public string DirectoryPath => Xml.
DirectoryPath
;
2437
public string DirectoryPath => Xml.
DirectoryPath
;
2678
EvaluationItemSpec expandedItemSpec = new EvaluationItemSpec(itemSpec, _data.Expander, elementLocation, itemElement.ContainingProject.
DirectoryPath
, expandProperties: true);
Evaluation\Evaluator.cs (10)
1044
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
1069
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
1072
EvaluateImportGroupElement(currentProjectOrImport.
DirectoryPath
, importGroup);
1075
_usingTaskElements.Add(new KeyValuePair<string, ProjectUsingTaskElement>(currentProjectOrImport.
DirectoryPath
, usingTask));
1094
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
1318
SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(_projectRootElement.
DirectoryPath
) ?
1323
_projectRootElement.
DirectoryPath
);
1333
string projectDirectory = EscapingUtilities.Escape(_projectRootElement.
DirectoryPath
);
1484
lazyEvaluator.ProcessItemElement(_projectRootElement.
DirectoryPath
, itemElement, conditionResult);
2648
return element.ContainingProject.
DirectoryPath
;
Evaluation\GlobResultBuilder.cs (3)
111
var includeItemspec = new ItemSpec<P, I>(itemElement.Include, expander, itemElement.IncludeLocation, itemElement.ContainingProject.
DirectoryPath
);
141
var excludeItemspec = new ItemSpec<P, I>(itemElement.Exclude, expander, itemElement.ExcludeLocation, itemElement.ContainingProject.
DirectoryPath
);
183
var removeSpec = new ItemSpec<P, I>(itemElement.Remove, expander, itemElement.RemoveLocation, itemElement.ContainingProject.
DirectoryPath
);
Evaluation\LazyItemEvaluator.cs (1)
111
return element.ContainingProject.
DirectoryPath
;
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
214
itemContext.OperationItem.SetMetadata(metadataElement, FileUtilities.MaybeAdjustFilePath(evaluatedValue, metadataElement.ContainingProject.
DirectoryPath
));
251
evaluatedValue = FileUtilities.MaybeAdjustFilePath(evaluatedValue, metadataElement.ContainingProject.
DirectoryPath
);
Instance\ProjectInstance.cs (1)
3262
_directory = xml.
DirectoryPath
;
Instance\TaskRegistry.cs (1)
237
projectUsingTaskXml.ContainingProject.
DirectoryPath
,
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
39
/// Access to remote <see cref="ProjectRootElement.
DirectoryPath
"/>.