77 references to FullPath
dotnet-aot (1)
parent\dotnet\Extensions\ProjectInstanceExtensions.cs (1)
23
if (string.IsNullOrEmpty(projectTypeGuid) && projectInstance.
FullPath
.EndsWith(".shproj", StringComparison.OrdinalIgnoreCase))
Infrastructure.Tests (3)
TestTriggerMap\GraphAffectedProjectsTests.cs (1)
338
.Where(node => node.ProjectInstance.
FullPath
.EndsWith("Core.csproj", StringComparison.Ordinal))
TestTriggerMap\TestTriggerMapTests.cs (2)
1227
.Where(node => IsMatrixTestProject(node.ProjectInstance.
FullPath
))
1232
Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
)!,
Microsoft.Build (36)
BackEnd\BuildManager\BuildRequestData.cs (1)
59
: this(targetsToBuild, hostServices, flags, projectInstance.
FullPath
)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
546
projectFile: cacheRequest.Configuration.Project.
FullPath
);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
169
_taskHostObject = requestEntry.Request.HostServices.GetHostObject(requestEntry.RequestConfiguration.Project.
FullPath
, loggingContext.Target.Name, _taskNode.Name);
183
_projectFullPath = requestEntry.RequestConfiguration.Project.
FullPath
;
864
taskExecutionHost.ProjectInstance.
FullPath
),
1127
declaredProjects.Add(FileUtilities.NormalizePath(_taskExecutionHost.ProjectInstance.
FullPath
));
BackEnd\Shared\BuildRequestConfiguration.cs (1)
288
_projectFullPath = instance.
FullPath
;
Construction\Solution\SolutionProjectGenerator.cs (3)
835
EmitMetaproject(instance.ToProjectRootElement(), instance.
FullPath
);
1226
ElementLocation.Create(traversalProject.
FullPath
),
1392
ElementLocation.Create(traversalProject.
FullPath
),
Graph\GraphBuilder.cs (12)
177
definingFileEscaped: currentNode.ProjectInstance.
FullPath
),
226
var projectPath = project.Value.GraphNode.ProjectInstance.
FullPath
;
258
referencedNode.ProjectInstance.
FullPath
,
259
referencingNode.ProjectInstance.
FullPath
);
498
FormatCircularDependencyError(new List<string> { node.ProjectInstance.
FullPath
, node.ProjectInstance.
FullPath
});
507
var projectsInCycle = new List<string> { referenceNode.ProjectInstance.
FullPath
};
517
if (loadReference.projectsInCycle[0].Equals(node.ProjectInstance.
FullPath
))
520
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
521
loadReference.projectsInCycle.Add(node.ProjectInstance.
FullPath
);
532
loadReference.projectsInCycle.Add(referenceNode.ProjectInstance.
FullPath
);
641
.Add(parsedProject.ProjectInstance.
FullPath
);
Graph\GraphBuildRequestData.cs (1)
202
yield return entryPoint.ProjectInstance.
FullPath
;
Graph\ProjectGraph.cs (2)
547
var nodeName = Path.GetFileNameWithoutExtension(node.ProjectInstance.
FullPath
);
721
ProjectGraphNode GetNodeForProject(ProjectInSolution project) => EntryPointNodes.First(node => string.Equals(node.ProjectInstance.
FullPath
, project.AbsolutePath));
Graph\ProjectGraphNode.cs (2)
50
var truncatedProjectFile = FileUtilities.TruncatePathToTrailingSegments(ProjectInstance.
FullPath
, 2);
87
return new ConfigurationMetadata(ProjectInstance.
FullPath
, ProjectInstance.GlobalPropertiesDictionary);
Graph\ProjectInterpretation.cs (5)
117
requesterInstance.
FullPath
));
186
var selectedPlatform = PlatformNegotiation.GetNearestPlatform(overridePlatformNegotiationMetadataValue, projectInstance.GetEngineRequiredPropertyValue(PlatformMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformsMetadataName), projectInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), requesterInstance.GetEngineRequiredPropertyValue(PlatformLookupTableMetadataName), projectInstance.
FullPath
, requesterInstance.GetEngineRequiredPropertyValue(PlatformMetadataName));
272
Assumed.False((isOuterBuild && isInnerBuild), $"A project cannot be an outer and inner build at the same time: ${project.
FullPath
}");
345
includeEscaped: outerBuild.
FullPath
,
347
definingFileEscaped: outerBuild.
FullPath
);
Instance\ProjectInstance.cs (3)
2097
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, this.
FullPath
);
2120
ProjectItemInstance item = new ProjectItemInstance(this, itemType, evaluatedInclude, metadata, this.
FullPath
);
3338
Trace.WriteLine($"MSBUILD: Creating a ProjectInstance from an unevaluated state [{
FullPath
}]");
Instance\ProjectItemInstance.cs (1)
364
get { return _project.
FullPath
; }
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Build\ProjectBuildManager.cs (2)
348
log.Add(string.Format(WorkspaceMSBuildBuildHostResources.Project_does_not_contain_0_target, target), projectInstance.
FullPath
);
376
log.Add(result.Exception, projectInstance.
FullPath
);
MSBuild\ProjectFile\Extensions.cs (1)
43
var baseDirectory = PathUtilities.GetDirectoryName(project.
FullPath
);
MSBuild\ProjectFile\ProjectInstanceReader.cs (1)
43
_projectFullPath = physicalFilePath ?? Project?.FullPath ?? _projectInstance.
FullPath
;
Microsoft.DotNet.HotReload.Watch (22)
AppModels\HotReloadAppModel.cs (2)
37
context.Logger.Log(MessageDescriptor.ApplicationKind_BlazorHosted, projectNode.ProjectInstance.
FullPath
, clientProject.ProjectInstance.
FullPath
);
Build\EvaluationResult.cs (4)
78
logger.LogError("Failed to restore project '{Path}'.", failedInstance.
FullPath
);
107
logger.LogError("Failed to build project '{Path}'.", failedInstance.
FullPath
);
170
!Path.GetExtension(projectInstance.
FullPath
).Equals(".csproj", PathUtilities.OSSpecificPathComparison) ||
173
var projectPath = projectInstance.
FullPath
;
Build\LoadedProjectGraph.cs (2)
21
.Concat(graph.ProjectNodes.Select(p => p.ProjectInstance.
FullPath
))
121
node.ProjectInstance.
FullPath
,
Build\ProjectGraphUtilities.cs (2)
20
=> $"{Path.GetFileNameWithoutExtension(project.
FullPath
)} ({project.GetTargetFramework()})";
153
=> new(project.
FullPath
, project.GetTargetFramework());
HotReload\HotReloadDotNetWatcher.cs (6)
201
workspace.PrepareCompilation(mainRunningProject.ProjectNode.ProjectInstance.
FullPath
, iterationCancellationToken);
674
var projectPath = projectInstance.
FullPath
;
718
var projectPath = projectInstance.
FullPath
;
1085
_context.BuildLogger.LogError("Project '{Path}' does not specify a target framework.", rootProject.
FullPath
);
1098
var projectNodeForDeviceCheck = projectGraph.TryGetProjectNode(rootProject.
FullPath
, targetFramework);
1191
var projectNode = projectGraph.TryGetProjectNode(rootProject.
FullPath
, targetFramework);
HotReload\ManagedCodeWorkspace.cs (2)
89
var solution = await _workspace.UpdateProjectGraphAsync([.. projectGraph.EntryPointNodes.Select(n => n.ProjectInstance.
FullPath
)], cancellationToken);
96
.GroupBy(static node => node.ProjectInstance.
FullPath
)
HotReload\ProjectUpdatesBuilder.StaticWebAssets.cs (1)
107
_projectsToRebuild.Add(runningProject.ProjectNode.ProjectInstance.
FullPath
);
HotReload\RunningProjectsManager.cs (3)
126
var projectPath = projectNode.ProjectInstance.
FullPath
;
438
var projectPath = project.ProjectNode.ProjectInstance.
FullPath
;
483
var ancestorPath = ancestor.ProjectInstance.
FullPath
;
MSBuild (1)
XMake.cs (1)
2030
nodeResultKvp.Key.ProjectInstance.
FullPath
.Equals(entryPoint.ProjectFile) &&
NuGet.Build.Tasks.Console (8)
MSBuildProjectInstance.cs (1)
41
public string FullPath => _projectInstance.
FullPath
;
MSBuildStaticGraphRestore.cs (7)
833
var adapter = new RestoreProjectAdapter(args.projectInstance.
FullPath
, args.projectInstance.GlobalProperties);
1349
var message = MSBuildRestoreUtility.GetMessageForUnsupportedProject(projectInstance.
FullPath
);
1385
if (projects.TryGetValue(projectInstance.
FullPath
, out TProject project))
1387
projects[projectInstance.
FullPath
] = updateProjectFactory(
1388
projectInstance.
FullPath
, project, (projectInstance, targetFramework));
1392
projects.Add(projectInstance.
FullPath
, createProjectFactory(
1393
projectInstance.
FullPath
, (projectInstance, targetFramework)));
SelectTests (2)
GraphAffectedProjects.cs (2)
264
var projectPath = NormalizeFullPath(node.ProjectInstance.
FullPath
);
294
var projectPath = NormalizeFullPath(instance.
FullPath
);