11 writes to FullPath
dotnet (1)
Commands\Reference\FileBasedAppReferenceEditor.cs (1)
233
projectRootElement.
FullPath
= VirtualProjectBuilder.GetVirtualProjectPath(entryPointFilePath);
Microsoft.Build (7)
Construction\ProjectRootElement.cs (2)
815
{
FullPath
= path };
1603
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)
2038
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)
401
public string EscapedFullPath => _escapedFullPath ?? (_escapedFullPath = ProjectCollection.Escape(
FullPath
));
456
MarkDirty("Set project FullPath to '{0}'",
FullPath
);
1648
ErrorUtilities.VerifyThrowInvalidOperation(!string.IsNullOrEmpty(
FullPath
), "ValueNotSet", $"{nameof(ProjectRootElement)}.{nameof(
FullPath
)}");
1650
ReloadFrom(
FullPath
, throwIfUnsavedChanges, preserveFormatting);
1681
/// Reloading from an XMLReader will retain the previous root element location (<see cref="
FullPath
"/>, <see cref="DirectoryPath"/>, <see cref="ProjectFileLocation"/>).
1704
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)
1505
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)
452
items.Add(itemFactory.CreateItem(includeSplitFileEscaped, includeSplitEscaped, itemElement.ContainingProject.
FullPath
));
886
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);
938
using (_evaluationProfiler.TrackFile(currentProjectOrImport.
FullPath
))
1235
if (string.IsNullOrEmpty(_projectRootElement.
FullPath
))
1249
string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.
FullPath
));
1250
string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.
FullPath
));
1783
importElement.ContainingProject.
FullPath
,
1791
ProjectFile = importElement.ContainingProject.
FullPath
1905
ProjectFile = importElement.ContainingProject.
FullPath
,
2031
string projectPath = _projectRootElement.
FullPath
!= null ?
2032
_projectRootElement.
FullPath
+ projectNameEnding :
2103
importElement.ContainingProject.
FullPath
,
2109
ProjectFile = importElement.ContainingProject.
FullPath
,
2164
importElement.ContainingProject.
FullPath
,
2170
ProjectFile = importElement.ContainingProject.
FullPath
,
2199
if (string.Equals(_projectRootElement.
FullPath
, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */)
2216
string importedBy = importElement.ContainingProject.
FullPath
?? string.Empty;
2242
parenthesizedProjectLocation = $"[{_projectRootElement.
FullPath
}]";
2294
_streamImports.Add(importedProjectElement.
FullPath
);
2304
importedProjectElement.
FullPath
,
2305
importElement.ContainingProject.
FullPath
,
2310
ImportedProjectFile = importedProjectElement.
FullPath
,
2312
ProjectFile = importElement.ContainingProject.
FullPath
2336
importElement.ContainingProject.
FullPath
,
2342
ProjectFile = importElement.ContainingProject.
FullPath
,
2391
importElement.ContainingProject.
FullPath
,
2397
ProjectFile = importElement.ContainingProject.
FullPath
,
2467
string importedBy = importElement.ContainingProject.
FullPath
;
2692
? $"{_lastModifiedProject.
FullPath
}{streamImports}"
2693
: $"{_lastModifiedProject.
FullPath
}{streamImports};{oldValue.EvaluatedValue}",
2726
string definingProject = _projectRootElement.
FullPath
?? string.Empty;
2801
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)
136
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
}.");
511
if (projectRootElement.
FullPath
!= null)
515
_weakCache.Remove(projectRootElement.
FullPath
);
529
Assumed.NotNull(projectRootElement.
FullPath
);
549
_weakCache.TryGetValue(projectRootElement.
FullPath
, out existingWeakEntry);
556
DebugTraceCache("Adding: ", projectRootElement.
FullPath
);
557
_weakCache[projectRootElement.
FullPath
] = projectRootElement;
597
DebugTraceCache("Shedding: ", node.Value.
FullPath
);
610
DebugTraceCache("Forgetting: ", projectRootElement.
FullPath
);
612
_weakCache.Remove(projectRootElement.
FullPath
);
620
DebugTraceCache("Out of date dropped from XML cache: ", projectRootElement.
FullPath
);
630
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))
122
if (projectRootElement.
FullPath
!= null)
124
_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
));