Implemented interface member:
property
ProjectPath
Aspire.Hosting.IProjectMetadata.ProjectPath
30 references to ProjectPath
Aspire.Hosting.Dotnet (24)
DotnetProjectBuildCoordinator.cs (18)
46(coordinationMode == BuildCoordinationMode.BuildOnly && !IsProjectFile(projectMetadata.ProjectPath))) 54if (IsSupportedPath(projectMetadata.ProjectPath)) 57if (IsProjectFile(projectMetadata.ProjectPath)) 59projectMetadata.SetProjectPath(state.AddProject(projectMetadata.ProjectPath, projectMetadata.BuildConfiguration)); 66projectMetadata.SetProjectPath(DotnetProjectBuildResource.ResolveBuildPathCasing(projectMetadata.ProjectPath)); 544!IsSupportedPath(metadata.ProjectPath)) 653!IsProjectFile(entry.Metadata.ProjectPath) && 663.Where(entry => IsSupportedPath(entry.Metadata.ProjectPath)) 666.Where(entry => !File.Exists(entry.Metadata.ProjectPath)) 669.Where(entry => File.Exists(entry.Metadata.ProjectPath)) 751step.Projects.Select(entry => entry.Metadata.ProjectPath), 761entry.Metadata.ProjectPath, 832IsSupportedPath(metadata.ProjectPath) && 833File.Exists(metadata.ProjectPath)) 911var originalPath = entry.Metadata.ProjectPath; 957.GroupBy(entry => entry.Metadata.ProjectPath, StringComparer.Ordinal) 977var projectDirectory = Path.GetDirectoryName(entry.Metadata.ProjectPath)!; 978if (!IsProjectFile(entry.Metadata.ProjectPath))
DotnetProjectHostingExtensions.cs (2)
381var workingDirectory = Path.GetDirectoryName(projectMetadata.ProjectPath) ?? builder.AppHostDirectory; 382var iconName = Path.GetExtension(projectMetadata.ProjectPath).ToLowerInvariant() switch
DotnetProjectMetadata.cs (4)
31if (!File.Exists(ProjectPath)) 39if (!ProjectPath.EndsWith(".vbproj", StringComparison.OrdinalIgnoreCase)) 44var launchSettingsPath = Path.Combine(Path.GetDirectoryName(ProjectPath)!, "My Project", "launchSettings.json"); 76var path = ProjectPath;
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectBuildCoordinatorTests.cs (6)
641Assert.Equal(suppliedPath, metadata.ProjectPath); 651Assert.Equal(expectedPath, metadata.ProjectPath); 703Assert.Equal(expectedPath, Assert.Single(file.Resource.Annotations.OfType<DotnetProjectMetadata>()).ProjectPath); 808Assert.Equal(suppliedPath, metadata.ProjectPath); 3651Assert.Single(first.Resource.Annotations.OfType<DotnetProjectMetadata>()).ProjectPath); 3654Assert.Single(second.Resource.Annotations.OfType<DotnetProjectMetadata>()).ProjectPath);