11 writes to FullPath
dotnet (1)
Commands\Reference\FileBasedAppReferenceEditor.cs (1)
233
projectRootElement.
FullPath
= VirtualProjectBuilder.GetVirtualProjectPath(entryPointFilePath);
Microsoft.Build (7)
Construction\ProjectRootElement.cs (2)
817
{
FullPath
= path };
1605
FullPath
= path;
Construction\Solution\SolutionProjectGenerator.cs (2)
915
traversalProject.
FullPath
= $"{_solutionFile.FullPath}.metaproj";
1039
traversalProject.
FullPath
= path;
Definition\Project.cs (2)
776
set => Xml.
FullPath
= value;
2449
set => Xml.
FullPath
= value;
Evaluation\Evaluator.cs (1)
2049
project.
FullPath
= projectPath;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Build\ProjectBuildManager.cs (2)
163
xml.
FullPath
= path;
214
projectRootElement.
FullPath
= path;
Microsoft.DotNet.ProjectTools (1)
BuildService.cs (1)
129
public string? FullPath { get => inner.FullPath; set => inner.
FullPath
= value; }
100 references to FullPath
dotnet (7)
Commands\Reference\Add\ReferenceAddCommand.cs (4)
81
msbuildProj.ProjectRootElement.
FullPath
,
99
r.ProjectRootElement.
FullPath
)).ToList();
151
(ProjectFilePath: reference.ProjectRootElement.
FullPath
,
174
sb.AppendLine(string.Format(CliStrings.ProjectNotCompatibleWithFrameworks, project.ProjectRootElement.
FullPath
));
Commands\Reference\Remove\ReferenceRemoveCommand.cs (1)
59
msbuildProj.ProjectRootElement.
FullPath
,
MsbuildProject.cs (2)
215
return _cachedEvaluatedProject = ProjectInstance.FromFile(ProjectRootElement.
FullPath
, options);
221
ProjectRootElement.
FullPath
, e.Message));
dotnet-aot (2)
src\sdk\src\Cli\dotnet\MsbuildProject.cs (2)
215
return _cachedEvaluatedProject = ProjectInstance.FromFile(ProjectRootElement.
FullPath
, options);
221
ProjectRootElement.
FullPath
, e.Message));
Microsoft.Build (81)
Construction\ProjectRootElement.cs (7)
403
public string EscapedFullPath => _escapedFullPath ?? (_escapedFullPath = ProjectCollection.Escape(
FullPath
));
458
MarkDirty("Set project FullPath to '{0}'",
FullPath
);
1650
ErrorUtilities.VerifyThrowInvalidOperation(!string.IsNullOrEmpty(
FullPath
), "ValueNotSet", $"{nameof(ProjectRootElement)}.{nameof(
FullPath
)}");
1652
ReloadFrom(
FullPath
, throwIfUnsavedChanges, preserveFormatting);
1683
/// Reloading from an XMLReader will retain the previous root element location (<see cref="
FullPath
"/>, <see cref="DirectoryPath"/>, <see cref="ProjectFileLocation"/>).
1706
document.FullPath =
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (2)
1036
string path = traversalProject.
FullPath
;
1061
if (traversalInstance.Targets[targetName].Location.File == traversalProject.
FullPath
)
Definition\Project.cs (4)
774
get => Xml.
FullPath
;
2112
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()));
2447
get => Xml.
FullPath
;
Definition\ProjectCollection.cs (1)
1549
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 (33)
301
if (projectRootElement.
FullPath
!= null)
459
items.Add(itemFactory.CreateItem(includeSplitFileEscaped, includeSplitEscaped, itemElement.ContainingProject.
FullPath
));
899
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);
951
using (_evaluationProfiler.TrackFile(currentProjectOrImport.
FullPath
))
1248
if (string.IsNullOrEmpty(_projectRootElement.
FullPath
))
1262
string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.
FullPath
));
1263
string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.
FullPath
));
1796
importElement.ContainingProject.
FullPath
,
1804
ProjectFile = importElement.ContainingProject.
FullPath
1916
ProjectFile = importElement.ContainingProject.
FullPath
,
2042
string projectPath = _projectRootElement.
FullPath
!= null ?
2043
_projectRootElement.
FullPath
+ projectNameEnding :
2114
importElement.ContainingProject.
FullPath
,
2120
ProjectFile = importElement.ContainingProject.
FullPath
,
2175
importElement.ContainingProject.
FullPath
,
2181
ProjectFile = importElement.ContainingProject.
FullPath
,
2210
if (string.Equals(_projectRootElement.
FullPath
, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */)
2227
string importedBy = importElement.ContainingProject.
FullPath
?? string.Empty;
2253
parenthesizedProjectLocation = $"[{_projectRootElement.
FullPath
}]";
2305
_streamImports.Add(importedProjectElement.
FullPath
);
2315
importedProjectElement.
FullPath
,
2316
importElement.ContainingProject.
FullPath
,
2321
ImportedProjectFile = importedProjectElement.
FullPath
,
2323
ProjectFile = importElement.ContainingProject.
FullPath
2347
importElement.ContainingProject.
FullPath
,
2353
ProjectFile = importElement.ContainingProject.
FullPath
,
2402
importElement.ContainingProject.
FullPath
,
2408
ProjectFile = importElement.ContainingProject.
FullPath
,
2478
string importedBy = importElement.ContainingProject.
FullPath
;
2703
? $"{_lastModifiedProject.
FullPath
}{streamImports}"
2704
: $"{_lastModifiedProject.
FullPath
}{streamImports};{oldValue.EvaluatedValue}",
2737
string definingProject = _projectRootElement.
FullPath
?? string.Empty;
2812
string definingProject = _projectRootElement.
FullPath
?? string.Empty;
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)
140
ProjectErrorUtilities.VerifyThrowInvalidProject(element.Name != XMakeElements.visualStudioProject, element.Location, "ProjectUpgradeNeeded", _project.
FullPath
);
Evaluation\ProjectRootElementCache.cs (14)
207
using (var xtr = XmlReaderExtension.Create(projectRootElement.
FullPath
, projectRootElement.ProjectRootElementCache.LoadProjectsReadOnly))
345
Assumed.Equal(projectRootElement.
FullPath
, projectFile, StringComparison.OrdinalIgnoreCase, $"Got project back with incorrect path. Expected path: {projectFile}, received path: {projectRootElement.
FullPath
}.");
529
if (projectRootElement.
FullPath
!= null)
533
_weakCache.Remove(projectRootElement.
FullPath
);
547
Assumed.NotNull(projectRootElement.
FullPath
);
567
_weakCache.TryGetValue(projectRootElement.
FullPath
, out existingWeakEntry);
574
DebugTraceCache("Adding: ", projectRootElement.
FullPath
);
575
_weakCache[projectRootElement.
FullPath
] = projectRootElement;
615
DebugTraceCache("Shedding: ", node.Value.
FullPath
);
628
DebugTraceCache("Forgetting: ", projectRootElement.
FullPath
);
630
_weakCache.Remove(projectRootElement.
FullPath
);
638
DebugTraceCache("Out of date dropped from XML cache: ", projectRootElement.
FullPath
);
648
if (_weakCache.TryGetValue(projectRootElement.
FullPath
, out var cached) && cached == projectRootElement)
Evaluation\SimpleProjectRootElementCache.cs (5)
66
Assumed.Equal(rootElement.
FullPath
, key, StringComparison.OrdinalIgnoreCase, $"Got project back with incorrect path. Expected path: {key}, received path: {rootElement.
FullPath
}.");
78
if (_cache.TryAdd(projectRootElement.
FullPath
, projectRootElement))
124
if (projectRootElement.
FullPath
!= null)
126
_cache.TryRemove(projectRootElement.
FullPath
, out _);
Instance\ProjectInstance.cs (6)
511
paths.Add(import.ImportedProject.
FullPath
);
526
paths.Add(import.ImportedProject.
FullPath
);
1982
_importPaths.Add(import.
FullPath
);
1998
_importPathsIncludingDuplicates.Add(import.
FullPath
);
3417
importPaths.Add(resolvedImport.ImportedProject.
FullPath
);
3430
importPathsIncludingDuplicates.Add(resolvedImport.ImportedProject.
FullPath
);
Instance\TaskRegistry.cs (1)
703
projectUsingTaskInXml.ContainingProject.
FullPath
);
ObjectModelRemoting\ConstructionObjectLinks\ProjectRootElementLink.cs (1)
44
/// Access to remote <see cref="ProjectRootElement.
FullPath
"/>.
Microsoft.DotNet.ProjectTools (1)
BuildService.cs (1)
129
public string? FullPath { get => inner.
FullPath
; set => inner.FullPath = value; }
NuGet.CommandLine.XPlat (9)
Utility\MSBuildAPIUtility.cs (9)
252
var packageVersions = project.Items.Where(item => item.ItemType == PACKAGE_VERSION_TYPE_TAG && item.EvaluatedInclude.Equals(packageReferenceArgs.PackageId) && !item.Xml.ContainingProject.
FullPath
.Equals(directoryPackagesPropsPath));
260
var packageReferenceOutsideProjectFile = project.Items.Where(item => item.ItemType == PACKAGE_REFERENCE_TYPE_TAG && item.Xml.ContainingProject.
FullPath
.Equals(directoryPackagesPropsPath));
422
Debug.Assert(directoryBuildPropsRootElement.ContainingProject.
FullPath
!= project.FullPath);
435
ProjectRootElement directoryBuildPropsRootElement = project.Imports.FirstOrDefault(i => i.ImportedProject.
FullPath
.Equals(directoryPackagesPropsPath, PathUtility.GetStringComparisonBasedOnOS())).ImportedProject;
451
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.
FullPath
467
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgAdded, libraryDependency.Name, packageVersion, itemGroup.ContainingProject.
FullPath
));
482
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgCPM, libraryDependency.Name, itemGroup.ContainingProject.
FullPath
, project.GetPropertyValue(DirectoryPackagesPropsPathPropertyName)));
606
packageReferenceItem.Xml.ContainingProject.
FullPath
));
672
importedPackageReference.Xml.ContainingProject.
FullPath
));