1 write to DirectoryPath
Microsoft.Build (1)
Instance\ProjectInstance.cs (1)
3171
DirectoryPath
= Path.GetDirectoryName(projectFile)
26 references to DirectoryPath
dotnet (1)
MsbuildProject.cs (1)
49
ProjectDirectory = PathUtilities.EnsureTrailingSlash(ProjectRootElement.
DirectoryPath
);
dotnet-aot (1)
src\sdk\src\Cli\dotnet\MsbuildProject.cs (1)
49
ProjectDirectory = PathUtilities.EnsureTrailingSlash(ProjectRootElement.
DirectoryPath
);
Microsoft.Build (24)
Construction\ProjectRootElement.cs (2)
1542
Directory.CreateDirectory(
DirectoryPath
);
1681
/// 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)
963
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
988
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
991
EvaluateImportGroupElement(currentProjectOrImport.
DirectoryPath
, importGroup);
994
_usingTaskElements.Add(new KeyValuePair<string, ProjectUsingTaskElement>(currentProjectOrImport.
DirectoryPath
, usingTask));
1013
EvaluateImportElement(currentProjectOrImport.
DirectoryPath
, import);
1237
SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(_projectRootElement.
DirectoryPath
) ?
1242
_projectRootElement.
DirectoryPath
);
1252
string projectDirectory = EscapingUtilities.Escape(_projectRootElement.
DirectoryPath
);
1403
lazyEvaluator.ProcessItemElement(_projectRootElement.
DirectoryPath
, itemElement, conditionResult);
2569
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)
297
projectUsingTaskXml.ContainingProject.
DirectoryPath
,
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
39
/// Access to remote <see cref="ProjectRootElement.
DirectoryPath
"/>.