9 writes to FullPath
Microsoft.Build (7)
Construction\ProjectRootElement.cs (2)
821
{
FullPath
= path };
1609
FullPath
= path;
Construction\Solution\SolutionProjectGenerator.cs (2)
910
traversalProject.
FullPath
= $"{_solutionFile.FullPath}.metaproj";
1034
traversalProject.
FullPath
= path;
Definition\Project.cs (2)
770
set => Xml.
FullPath
= value;
2420
set => Xml.
FullPath
= value;
Evaluation\Evaluator.cs (1)
1972
project.
FullPath
= projectPath;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
134
xml.
FullPath
= path;
Microsoft.DotNet.ProjectTools (1)
VirtualProjectBuilder.cs (1)
437
projectRoot.
FullPath
= GetVirtualProjectPath(EntryPointFileFullPath);
96 references to FullPath
dotnet (8)
Commands\Reference\Add\ReferenceAddCommand.cs (3)
62
msbuildProj.ProjectRootElement.
FullPath
,
80
r.ProjectRootElement.
FullPath
)).ToList();
97
sb.AppendLine(string.Format(CliStrings.ProjectNotCompatibleWithFrameworks, project.ProjectRootElement.
FullPath
));
Commands\Reference\Remove\ReferenceRemoveCommand.cs (1)
41
msbuildProj.ProjectRootElement.
FullPath
,
Commands\Run\Api\RunApiCommand.cs (1)
95
ProjectPath = projectRootElement.
FullPath
,
MsbuildProject.cs (3)
193
ProjectRootElement.
FullPath
,
200
project = _projects.LoadProject(ProjectRootElement.
FullPath
);
209
ProjectRootElement.
FullPath
, e.Message));
Microsoft.Build (79)
Construction\ProjectRootElement.cs (7)
401
public string EscapedFullPath => _escapedFullPath ?? (_escapedFullPath = ProjectCollection.Escape(
FullPath
));
456
MarkDirty("Set project FullPath to '{0}'",
FullPath
);
1654
ErrorUtilities.VerifyThrowInvalidOperation(!string.IsNullOrEmpty(
FullPath
), "ValueNotSet", $"{nameof(ProjectRootElement)}.{nameof(
FullPath
)}");
1656
ReloadFrom(
FullPath
, throwIfUnsavedChanges, preserveFormatting);
1687
/// Reloading from an XMLReader will retain the previous root element location (<see cref="
FullPath
"/>, <see cref="DirectoryPath"/>, <see cref="ProjectFileLocation"/>).
1710
document.FullPath =
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (2)
1031
string path = traversalProject.
FullPath
;
1056
if (traversalInstance.Targets[targetName].Location.File == traversalProject.
FullPath
)
Definition\Project.cs (4)
768
get => Xml.
FullPath
;
2095
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()));
2418
get => Xml.
FullPath
;
Definition\ProjectCollection.cs (1)
1455
ErrorUtilities.ThrowInvalidOperation("OM_ProjectXmlCannotBeUnloadedDueToLoadedProjects", projectRootElement.
FullPath
, conflictingProject.FullPath);
Definition\ProjectItem.cs (1)
853
? BuiltInMetadata.GetMetadataValueEscaped(_project.DirectoryPath, _evaluatedIncludeBeforeWildcardExpansionEscaped, _evaluatedIncludeEscaped, Xml.ContainingProject.
FullPath
, modifierKind, ref _cachedModifiers)
Evaluation\Evaluator.cs (31)
274
if (projectRootElement.
FullPath
!= null)
423
items.Add(itemFactory.CreateItem(includeSplitFileEscaped, includeSplitEscaped, itemElement.ContainingProject.
FullPath
));
823
string output = string.Format(CultureInfo.CurrentUICulture, "###: MSBUILD: Evaluating or reevaluating project {0} with {1} global properties and {2} tools version, child count {3}, CurrentSolutionConfigurationContents hash {4} other properties:\n{5}", _projectRootElement.
FullPath
, globalPropertiesCount, _data.Toolset.ToolsVersion, _projectRootElement.Count, hash, propertyDump);
875
using (_evaluationProfiler.TrackFile(currentProjectOrImport.
FullPath
))
1172
if (string.IsNullOrEmpty(_projectRootElement.
FullPath
))
1186
string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.
FullPath
));
1187
string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.
FullPath
));
1717
importElement.ContainingProject.
FullPath
,
1725
ProjectFile = importElement.ContainingProject.
FullPath
1839
ProjectFile = importElement.ContainingProject.
FullPath
,
1965
string projectPath = _projectRootElement.
FullPath
!= null ?
1966
_projectRootElement.
FullPath
+ projectNameEnding :
2037
importElement.ContainingProject.
FullPath
,
2043
ProjectFile = importElement.ContainingProject.
FullPath
,
2098
importElement.ContainingProject.
FullPath
,
2104
ProjectFile = importElement.ContainingProject.
FullPath
,
2133
if (string.Equals(_projectRootElement.
FullPath
, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */)
2150
string importedBy = importElement.ContainingProject.
FullPath
?? string.Empty;
2176
parenthesizedProjectLocation = $"[{_projectRootElement.
FullPath
}]";
2228
_streamImports.Add(importedProjectElement.
FullPath
);
2238
importedProjectElement.
FullPath
,
2239
importElement.ContainingProject.
FullPath
,
2244
ImportedProjectFile = importedProjectElement.
FullPath
,
2246
ProjectFile = importElement.ContainingProject.
FullPath
2270
importElement.ContainingProject.
FullPath
,
2276
ProjectFile = importElement.ContainingProject.
FullPath
,
2325
importElement.ContainingProject.
FullPath
,
2331
ProjectFile = importElement.ContainingProject.
FullPath
,
2401
string importedBy = importElement.ContainingProject.
FullPath
;
2621
? $"{_lastModifiedProject.
FullPath
}{streamImports}"
2622
: $"{_lastModifiedProject.
FullPath
}{streamImports};{oldValue.EvaluatedValue}",
Evaluation\LazyItemEvaluator.cs (1)
135
var clonedItem = itemFactory.CreateItem(Item, OriginatingItemElement.ContainingProject.
FullPath
);
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
98
itemsToAdd.Add(_itemFactory.CreateItem(value, value, _itemElement.ContainingProject.
FullPath
));
141
itemsToAdd.Add(_itemFactory.CreateItem(includeSplitFileEscaped, glob, _itemElement.ContainingProject.
FullPath
));
Evaluation\Preprocessor.cs (2)
316
$"\r\n{Equals140}\r\n{importTag}\r\n\r\n{resolved.
FullPath
.Replace("--", "__")}\r\n{Equals140}\r\n"));
318
_filePaths.Push(resolved.
FullPath
);
Evaluation\ProjectParser.cs (1)
136
ProjectErrorUtilities.VerifyThrowInvalidProject(element.Name != XMakeElements.visualStudioProject, element.Location, "ProjectUpgradeNeeded", _project.
FullPath
);
Evaluation\ProjectRootElementCache.cs (14)
209
using (var xtr = XmlReaderExtension.Create(projectRootElement.
FullPath
, projectRootElement.ProjectRootElementCache.LoadProjectsReadOnly))
350
projectRootElement.
FullPath
.Equals(projectFile, StringComparison.OrdinalIgnoreCase),
351
$"Got project back with incorrect path. Expected path: {projectFile}, received path: {projectRootElement.
FullPath
}.");
517
if (projectRootElement.
FullPath
!= null)
521
_weakCache.Remove(projectRootElement.
FullPath
);
535
ErrorUtilities.VerifyThrowInternalNull(projectRootElement.
FullPath
, "FullPath");
555
_weakCache.TryGetValue(projectRootElement.
FullPath
, out existingWeakEntry);
562
DebugTraceCache("Adding: ", projectRootElement.
FullPath
);
563
_weakCache[projectRootElement.
FullPath
] = projectRootElement;
603
DebugTraceCache("Shedding: ", node.Value.
FullPath
);
616
DebugTraceCache("Forgetting: ", projectRootElement.
FullPath
);
618
_weakCache.Remove(projectRootElement.
FullPath
);
626
DebugTraceCache("Out of date dropped from XML cache: ", projectRootElement.
FullPath
);
636
if (_weakCache.TryGetValue(projectRootElement.
FullPath
, out var cached) && cached == projectRootElement)
Evaluation\SimpleProjectRootElementCache.cs (5)
67
rootElement.
FullPath
.Equals(key, StringComparison.OrdinalIgnoreCase),
68
$"Got project back with incorrect path. Expected path: {key}, received path: {rootElement.
FullPath
}.");
81
if (_cache.TryAdd(projectRootElement.
FullPath
, projectRootElement))
125
if (projectRootElement.
FullPath
!= null)
127
_cache.TryRemove(projectRootElement.
FullPath
, out _);
Instance\ProjectInstance.cs (6)
502
paths.Add(import.ImportedProject.
FullPath
);
517
paths.Add(import.ImportedProject.
FullPath
);
1946
_importPaths.Add(import.
FullPath
);
1962
_importPathsIncludingDuplicates.Add(import.
FullPath
);
3360
importPaths.Add(resolvedImport.ImportedProject.
FullPath
);
3373
importPathsIncludingDuplicates.Add(resolvedImport.ImportedProject.
FullPath
);
Instance\TaskRegistry.cs (1)
710
projectUsingTaskInXml.ContainingProject.
FullPath
);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
44
/// Access to remote <see cref="ProjectRootElement.
FullPath
"/>.
NuGet.CommandLine.XPlat (9)
Utility\MSBuildAPIUtility.cs (9)
251
var packageVersions = project.Items.Where(item => item.ItemType == PACKAGE_VERSION_TYPE_TAG && item.EvaluatedInclude.Equals(packageReferenceArgs.PackageId) && !item.Xml.ContainingProject.
FullPath
.Equals(directoryPackagesPropsPath));
259
var packageReferenceOutsideProjectFile = project.Items.Where(item => item.ItemType == PACKAGE_REFERENCE_TYPE_TAG && item.Xml.ContainingProject.
FullPath
.Equals(directoryPackagesPropsPath));
421
Debug.Assert(directoryBuildPropsRootElement.ContainingProject.
FullPath
!= project.FullPath);
434
ProjectRootElement directoryBuildPropsRootElement = project.Imports.FirstOrDefault(i => i.ImportedProject.
FullPath
.Equals(directoryPackagesPropsPath, PathUtility.GetStringComparisonBasedOnOS())).ImportedProject;
450
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.
FullPath
466
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.
FullPath
));
481
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgCPM, libraryDependency.Name, itemGroup.ContainingProject.
FullPath
, project.GetPropertyValue(DirectoryPackagesPropsPathPropertyName)));
605
packageReferenceItem.Xml.ContainingProject.
FullPath
));
671
importedPackageReference.Xml.ContainingProject.
FullPath
));