190 implementations of ProjectPath
AksDemo.AppHost (1)
artifacts\obj\AksDemo.AppHost\Debug\net10.0\Aspire\references\AksDemo_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AksDemo\AksDemo.ApiService\AksDemo.ApiService.csproj""";
AppHost1 (2)
artifacts\obj\AppHost1\Debug\net10.0\Aspire\references\WebApplication1.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerScript\WebApplication1\WebApplication1.csproj""";
artifacts\obj\AppHost1\Debug\net10.0\Aspire\references\WebApplication2.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerScript\WebApplication2\WebApplication2.csproj""";
Aspire.Hosting (1)
IProjectMetadata.cs (1)
77public string ProjectPath => _resolvedProjectPath ??= ProjectPathResolver.ResolveProjectPath(projectPath);
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
768public string ProjectPath => _resolvedProjectPath ??= ResolveProjectPath(projectPath);
Aspire.Hosting.Azure.Kubernetes.Tests (1)
AzureKubernetesFoundryReferenceTests.cs (1)
87public string ProjectPath => "project";
Aspire.Hosting.Azure.Tests (29)
AzureApplicationInsightsExtensionsTests.cs (1)
136public string ProjectPath => "projectA";
AzureAppServiceTests.cs (1)
1494public string ProjectPath => "/foo/bar/project.csproj";
AzureContainerAppsTests.cs (2)
1894public string ProjectPath => "project"; 2553public string ProjectPath => "functions-project";
AzureContainerRegistryTests.cs (1)
406public string ProjectPath => "project";
AzureDeployerTests.cs (2)
1865public string ProjectPath => "project"; 1870public string ProjectPath => "functions-project";
AzureEnvironmentResourceTests.cs (1)
512public string ProjectPath => "another-path";
AzureFrontDoorTests.cs (1)
269public string ProjectPath => "project";
AzureFunctionsTests.cs (7)
778public string ProjectPath => "some-path"; 795public string ProjectPath => "some-path"; 812public string ProjectPath => "some-path"; 829public string ProjectPath => "some-path"; 845public string ProjectPath => "some-path"; 862public string ProjectPath => "some-path"; 879public string ProjectPath => "some-path";
AzureKustoExtensionsTests.cs (1)
103public string ProjectPath => "project";
AzureProvisioningResourceExtensionsTests.cs (1)
70public string ProjectPath => "project";
AzureProvisioningResourceTests.cs (1)
123public string ProjectPath => "project";
AzureResourcePreparerTests.cs (1)
883public string ProjectPath => "project";
AzureSandboxesTests.cs (1)
3447public string ProjectPath => "testproject";
AzureSqlDeploymentScriptTests.cs (1)
208public string ProjectPath => "project";
AzureUserAssignedIdentityTests.cs (1)
433public string ProjectPath => "some-path";
AzureWebPubSubExtensionsTests.cs (1)
439public string ProjectPath => "projectA";
ContainerRegistryTests.cs (1)
175public string ProjectPath => "testproject";
FoundryExtensionsTests.cs (1)
971public string ProjectPath => "project";
PublicApiTests\AppContainersPublicApiTests.cs (1)
160public string ProjectPath => "projectA";
PublicApiTests\FunctionsPublicApiTests.cs (1)
267public string ProjectPath => "some-path";
RoleAssignmentTests.cs (1)
377public string ProjectPath => "project";
Aspire.Hosting.Blazor.Tests (4)
AddBlazorGatewayTests.cs (1)
535public string ProjectPath => "TestProject/TestProject.csproj";
BlazorHostedExtensionsTests.cs (1)
672public string ProjectPath => "TestProject/TestProject.csproj";
GatewayConfigurationBuilderTests.cs (1)
640public string ProjectPath => "TestProject/TestProject.csproj";
WithBlazorAppTests.cs (1)
507public string ProjectPath => "TestProject/TestProject.csproj";
Aspire.Hosting.DevTunnels.Tests (1)
DevTunnelResourceBuilderExtensionsTests.cs (1)
941public string ProjectPath => "projectA";
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
1552public string ProjectPath => "another-path"; 1560public string ProjectPath => "another-path";
Aspire.Hosting.Dotnet (1)
DotnetProjectMetadata.cs (1)
24public string ProjectPath => _resolvedProjectPath ??=
Aspire.Hosting.EntityFrameworkCore.Tests (1)
TestServices\CustomBuildProjectMetadata.cs (1)
12public string ProjectPath { get; init; } = new Projects.ServiceB().ProjectPath;
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
1050public string ProjectPath => "project";
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
3056public string ProjectPath => "another-path"; 3064public string ProjectPath => "another-path";
Aspire.Hosting.Maui (1)
MauiProjectMetadata.cs (1)
13public string ProjectPath { get; } = projectPath;
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
227public string ProjectPath => "projectA";
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
462public string ProjectPath => "projectA";
Aspire.Hosting.Radius.Tests (3)
InnerLoop\RadiusInfrastructureInitializationTests.cs (1)
143public string ProjectPath => "testproject";
Publishing\BicepGenerationSimpleTests.cs (1)
213public string ProjectPath => "testproject";
RadiusExtensionsTests.cs (1)
219public string ProjectPath => "testproject";
Aspire.Hosting.Testing.Tests (1)
DistributedApplicationEntryPointInvokerTests.cs (1)
69public string ProjectPath => "/path/to/Test.AppHost.csproj";
Aspire.Hosting.Tests (37)
Dashboard\DashboardResourceTests.cs (1)
903public string ProjectPath => "dashboard.csproj";
Dcp\DcpExecutorTests.cs (7)
12364public string ProjectPath => "TestProject"; 12370public string ProjectPath { get; } = projectPath; 12398public string ProjectPath => "TestProjectWithLaunchSettings"; 12430public string ProjectPath => "TestProjectWithLaunchProfileCommandLineArgs"; 12448public string ProjectPath => "TestProjectNoProfiles"; 12454public string ProjectPath => "TestProjectMultiProfileOrder"; 12475public string ProjectPath => "TestProjectWithExecutableLaunchProfile";
Dcp\ExecutableLaunchPlanTests.cs (1)
335public string ProjectPath { get; } = projectPath;
Dcp\ResourceSnapshotBuilderTests.cs (2)
838public string ProjectPath { get; init; } = "/app/project.csproj"; 860public string ProjectPath => "/app/override.csproj";
DotnetProgramPublishingTests.cs (1)
547public string ProjectPath { get; } = projectPath;
ExternalServiceTests.cs (1)
621public string ProjectPath => "testproject";
Orchestrator\ApplicationOrchestratorTests.cs (2)
1754public string ProjectPath => "projectA"; 1761public string ProjectPath => "projectB";
Pipelines\DistributedApplicationPipelineTests.cs (1)
2283public string ProjectPath => "dummy.csproj";
ProjectResourceBuilderExtensionTests.cs (2)
541public string ProjectPath => "test.csproj"; 546public string ProjectPath => "override.csproj";
ProjectResourceTests.cs (3)
1197public string ProjectPath => "another-path"; 1204public string ProjectPath => "override-path"; 1212public string ProjectPath => "another-path";
PublishAsDockerfileTests.cs (2)
533public string ProjectPath => "another-path"; 540public string ProjectPath => "/foo/another-path";
Publishing\ResourceContainerImageManagerTests.cs (1)
2347public string ProjectPath { get; } = projectPath;
ResourceExtensionsTests.cs (1)
598public string ProjectPath => "/app/project.csproj";
WithEndpointTests.cs (4)
634public string ProjectPath => "projectpath"; 641public string ProjectPath => "projectpath"; 1118public string ProjectPath => "projectA"; 1125public string ProjectPath => "projectB";
WithEnvironmentTests.cs (2)
525public string ProjectPath => "projectA"; 532public string ProjectPath => "projectB";
WithIconNameTests.cs (1)
108public string ProjectPath => "TestProject.csproj";
WithReferenceTests.cs (2)
1326public string ProjectPath => "projectA"; 1333public string ProjectPath => "projectB";
WithTerminalTests.cs (1)
1557public string ProjectPath => "another-path";
WithUrlsTests.cs (2)
1207public string ProjectPath => "projectA"; 1214public string ProjectPath => "project";
AspireJavaScript.AppHost (1)
artifacts\obj\AspireJavaScript.AppHost\Debug\net10.0\Aspire\references\AspireJavaScript_MinimalApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AspireWithJavaScript\AspireJavaScript.MinimalApi\AspireJavaScript.MinimalApi.csproj""";
AspireWithNode.AppHost (1)
artifacts\obj\AspireWithNode.AppHost\Debug\net10.0\Aspire\references\AspireWithNode_AspNetCoreApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AspireWithNode\AspireWithNode.AspNetCoreApi\AspireWithNode.AspNetCoreApi.csproj""";
AzureApiManagement.AppHost (1)
artifacts\obj\AzureApiManagement.AppHost\Debug\net10.0\Aspire\references\AzureApiManagement_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureApiManagement\AzureApiManagement.ApiService\AzureApiManagement.ApiService.csproj""";
AzureAppConfiguration.AppHost (1)
artifacts\obj\AzureAppConfiguration.AppHost\Debug\net10.0\Aspire\references\AzureAppConfiguration_Web.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureAppConfiguration\AzureAppConfiguration.Web\AzureAppConfiguration.Web.csproj""";
AzureAppService.AppHost (1)
artifacts\obj\AzureAppService.AppHost\Debug\net10.0\Aspire\references\AzureAppService_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureAppService\AzureAppService.ApiService\AzureAppService.ApiService.csproj""";
AzureContainerApps.AppHost (1)
artifacts\obj\AzureContainerApps.AppHost\Debug\net10.0\Aspire\references\AzureContainerApps_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureContainerApps\AzureContainerApps.ApiService\AzureContainerApps.ApiService.csproj""";
AzureDataLakeEndToEnd.AppHost (1)
artifacts\obj\AzureDataLakeEndToEnd.AppHost\Debug\net10.0\Aspire\references\AzureDataLakeEndToEnd_WebApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureDataLakeEndToEnd\AzureDataLakeEndToEnd.WebApi\AzureDataLakeEndToEnd.WebApi.csproj""";
AzureFunctionsEndToEnd.AppHost (2)
artifacts\obj\AzureFunctionsEndToEnd.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.ApiService\AzureFunctionsEndToEnd.ApiService.csproj""";
artifacts\obj\AzureFunctionsEndToEnd.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsEndToEnd_Functions.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.Functions\AzureFunctionsEndToEnd.Functions.csproj""";
AzureFunctionsWithDts.AppHost (1)
artifacts\obj\AzureFunctionsWithDts.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsWithDts_Functions.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsWithDts\AzureFunctionsWithDts.Functions\AzureFunctionsWithDts.Functions.csproj""";
AzureKusto.AppHost (1)
artifacts\obj\AzureKusto.AppHost\Debug\net10.0\Aspire\references\AzureKusto_Worker.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureKusto\AzureKusto.Worker\AzureKusto.Worker.csproj""";
AzureOpenAIEndToEnd.AppHost (1)
artifacts\obj\AzureOpenAIEndToEnd.AppHost\Debug\net10.0\Aspire\references\AzureOpenAIEndToEnd_WebStory.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureOpenAIEndToEnd\AzureOpenAIEndToEnd.WebStory\AzureOpenAIEndToEnd.WebStory.csproj""";
AzureSearch.AppHost (1)
artifacts\obj\AzureSearch.AppHost\Debug\net10.0\Aspire\references\AzureSearch_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureSearchEndToEnd\AzureSearch.ApiService\AzureSearch.ApiService.csproj""";
AzureStorageEndToEnd.AppHost (1)
artifacts\obj\AzureStorageEndToEnd.AppHost\Debug\net10.0\Aspire\references\AzureStorageEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureStorageEndToEnd\AzureStorageEndToEnd.ApiService\AzureStorageEndToEnd.ApiService.csproj""";
AzureVirtualNetworkEndToEnd.AppHost (1)
artifacts\acc610a32c3974dc\AzureVirtualNetworkEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureVirtualNetworkEndToEnd\AzureVirtualNetworkEndToEnd.ApiService\AzureVirtualNetworkEndToEnd.ApiService.csproj""";
BicepSample.AppHost (1)
artifacts\obj\BicepSample.AppHost\Debug\net10.0\Aspire\references\BicepSample_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\bicep\BicepSample.ApiService\BicepSample.ApiService.csproj""";
BlazorHosted.AppHost (3)
artifacts\obj\BlazorHosted.AppHost\Debug\net10.0\Aspire\references\BlazorHosted_TimeApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorHosted\BlazorHosted.TimeApi\BlazorHosted.TimeApi.csproj""";
artifacts\obj\BlazorHosted.AppHost\Debug\net10.0\Aspire\references\BlazorHosted_WeatherApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorHosted\BlazorHosted.WeatherApi\BlazorHosted.WeatherApi.csproj""";
artifacts\obj\BlazorHosted.AppHost\Debug\net10.0\Aspire\references\BlazorHosted.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorHosted\BlazorHosted.Server\BlazorHosted.csproj""";
BlazorStandalone.AppHost (3)
artifacts\obj\BlazorStandalone.AppHost\Debug\net10.0\Aspire\references\BlazorStandalone_TimeApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorStandalone\BlazorStandalone.TimeApi\BlazorStandalone.TimeApi.csproj""";
artifacts\obj\BlazorStandalone.AppHost\Debug\net10.0\Aspire\references\BlazorStandalone_WeatherApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorStandalone\BlazorStandalone.WeatherApi\BlazorStandalone.WeatherApi.csproj""";
artifacts\obj\BlazorStandalone.AppHost\Debug\net10.0\Aspire\references\BlazorStandalone.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BlazorStandalone\BlazorStandalone\BlazorStandalone.csproj""";
BrowserTelemetry.AppHost (1)
artifacts\obj\BrowserTelemetry.AppHost\Debug\net10.0\Aspire\references\BrowserTelemetry_Web.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\BrowserTelemetry\BrowserTelemetry.Web\BrowserTelemetry.Web.csproj""";
CdkSample.AppHost (1)
artifacts\obj\CdkSample.AppHost\Debug\net10.0\Aspire\references\CdkSample_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\cdk\CdkSample.ApiService\CdkSample.ApiService.csproj""";
CertManagerDemo.AppHost (1)
artifacts\obj\CertManagerDemo.AppHost\Debug\net10.0\Aspire\references\CertManagerDemo_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\CertManagerDemo\CertManagerDemo.ApiService\CertManagerDemo.ApiService.csproj""";
CosmosEndToEnd.AppHost (1)
artifacts\obj\CosmosEndToEnd.AppHost\Debug\net10.0\Aspire\references\CosmosEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\CosmosEndToEnd\CosmosEndToEnd.ApiService\CosmosEndToEnd.ApiService.csproj""";
DatabaseMigration.AppHost (2)
artifacts\obj\DatabaseMigration.AppHost\Debug\net10.0\Aspire\references\DatabaseMigration_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\DatabaseMigration\DatabaseMigration.ApiService\DatabaseMigration.ApiService.csproj""";
artifacts\obj\DatabaseMigration.AppHost\Debug\net10.0\Aspire\references\DatabaseMigration_MigrationService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\DatabaseMigration\DatabaseMigration.MigrationService\DatabaseMigration.MigrationService.csproj""";
Deployers.AppHost (3)
artifacts\obj\Deployers.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.ApiService\AzureFunctionsEndToEnd.ApiService.csproj""";
artifacts\obj\Deployers.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsEndToEnd_Functions.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.Functions\AzureFunctionsEndToEnd.Functions.csproj""";
artifacts\obj\Deployers.AppHost\Debug\net10.0\Aspire\references\Deployers_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\deployers\Deployers.ApiService\Deployers.ApiService.csproj""";
DevTunnels.AppHost (2)
artifacts\obj\DevTunnels.AppHost\Debug\net10.0\Aspire\references\DevTunnels_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\DevTunnels\DevTunnels.ApiService\DevTunnels.ApiService.csproj""";
artifacts\obj\DevTunnels.AppHost\Debug\net10.0\Aspire\references\DevTunnels_WebFrontEnd.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\DevTunnels\DevTunnels.WebFrontEnd\DevTunnels.WebFrontEnd.csproj""";
EntraId.AppHost (1)
artifacts\obj\EntraId.AppHost\Debug\net10.0\Aspire\references\EntraId_Web.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\EntraId\EntraId.Web\EntraId.Web.csproj""";
EventHubs.AppHost (2)
artifacts\obj\EventHubs.AppHost\Debug\net10.0\Aspire\references\EventHubsApi.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AspireEventHub\EventHubsApi\EventHubsApi.csproj""";
artifacts\obj\EventHubs.AppHost\Debug\net10.0\Aspire\references\EventHubsConsumer.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AspireEventHub\EventHubsConsumer\EventHubsConsumer.csproj""";
ExternalServices.AppHost (1)
artifacts\obj\ExternalServices.AppHost\Debug\net10.0\Aspire\references\WebFrontEnd.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ExternalServices\WebFrontEnd\WebFrontEnd.csproj""";
FoundryAgentBasic.AppHost (1)
artifacts\obj\FoundryAgentBasic.AppHost\Debug\net10.0\Aspire\references\Playground_ServiceDefaults.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Playground.ServiceDefaults\Playground.ServiceDefaults.csproj""";
FoundryAgentEnterprise.AppHost (1)
artifacts\obj\FoundryAgentEnterprise.AppHost\Debug\net10.0\Aspire\references\Playground_ServiceDefaults.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Playground.ServiceDefaults\Playground.ServiceDefaults.csproj""";
FoundryAgents.AppHost (3)
artifacts\obj\FoundryAgents.AppHost\Debug\net10.0\Aspire\references\DotNetHostedAgent.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\FoundryAgents\DotNetHostedAgent\DotNetHostedAgent.csproj""";
artifacts\obj\FoundryAgents.AppHost\Debug\net10.0\Aspire\references\DotNetInvocationHostedAgent.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\FoundryAgents\DotNetInvocationHostedAgent\DotNetInvocationHostedAgent.csproj""";
artifacts\obj\FoundryAgents.AppHost\Debug\net10.0\Aspire\references\PromptAgentChat.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\FoundryAgents\PromptAgentChat\PromptAgentChat.csproj""";
FoundryEndToEnd.AppHost (1)
artifacts\obj\FoundryEndToEnd.AppHost\Debug\net10.0\Aspire\references\FoundryEndToEnd_WebStory.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\FoundryEndToEnd\FoundryEndToEnd.WebStory\FoundryEndToEnd.WebStory.csproj""";
KafkaBasic.AppHost (2)
artifacts\obj\KafkaBasic.AppHost\Debug\net10.0\Aspire\references\Consumer.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\kafka\Consumer\Consumer.csproj""";
artifacts\obj\KafkaBasic.AppHost\Debug\net10.0\Aspire\references\Producer.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\kafka\Producer\Producer.csproj""";
Keycloak.AppHost (2)
artifacts\obj\Keycloak.AppHost\Debug\net10.0\Aspire\references\Keycloak_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\keycloak\Keycloak.ApiService\Keycloak.ApiService.csproj""";
artifacts\obj\Keycloak.AppHost\Debug\net10.0\Aspire\references\Keycloak_Web.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Keycloak.Web.csproj""";
MilvusPlayground.AppHost (1)
artifacts\obj\MilvusPlayground.AppHost\Debug\net10.0\Aspire\references\MilvusPlayground_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\milvus\MilvusPlayground.ApiService\MilvusPlayground.ApiService.csproj""";
Mongo.AppHost (1)
artifacts\obj\Mongo.AppHost\Debug\net10.0\Aspire\references\Mongo_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\mongo\Mongo.ApiService\Mongo.ApiService.csproj""";
MySqlDb.AppHost (1)
artifacts\obj\MySqlDb.AppHost\Debug\net10.0\Aspire\references\MySql_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\mysql\MySql.ApiService\MySql.ApiService.csproj""";
Nats.AppHost (2)
artifacts\obj\Nats.AppHost\Debug\net10.0\Aspire\references\Nats_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\nats\Nats.ApiService\Nats.ApiService.csproj""";
artifacts\obj\Nats.AppHost\Debug\net10.0\Aspire\references\Nats_Backend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\nats\Nats.Backend\Nats.Backend.csproj""";
OpenAIEndToEnd.AppHost (1)
artifacts\obj\OpenAIEndToEnd.AppHost\Debug\net10.0\Aspire\references\OpenAIEndToEnd_WebStory.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\OpenAIEndToEnd\OpenAIEndToEnd.WebStory\OpenAIEndToEnd.WebStory.csproj""";
OracleEndToEnd.AppHost (1)
artifacts\obj\OracleEndToEnd.AppHost\Debug\net10.0\Aspire\references\OracleEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\OracleEndToEnd\OracleEndToEnd.ApiService\OracleEndToEnd.ApiService.csproj""";
Orleans.AppHost (2)
artifacts\obj\Orleans.AppHost\Debug\net10.0\Aspire\references\OrleansClient.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\orleans\OrleansClient\OrleansClient.csproj""";
artifacts\obj\Orleans.AppHost\Debug\net10.0\Aspire\references\OrleansServer.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\orleans\OrleansServer\OrleansServer.csproj""";
ParameterEndToEnd.AppHost (1)
artifacts\obj\ParameterEndToEnd.AppHost\Debug\net10.0\Aspire\references\ParameterEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ParameterEndToEnd\ParameterEndToEnd.ApiService\ParameterEndToEnd.ApiService.csproj""";
Pipelines.AppHost (1)
artifacts\obj\Pipelines.AppHost\Debug\net10.0\Aspire\references\Publishers_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\publishers\Publishers.ApiService\Publishers.ApiService.csproj""";
PostgresEndToEnd.AppHost (1)
artifacts\obj\PostgresEndToEnd.AppHost\Debug\net10.0\Aspire\references\PostgresEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\PostgresEndToEnd\PostgresEndToEnd.ApiService\PostgresEndToEnd.ApiService.csproj""";
ProjectResourceExtensions.AppHost (5)
AppHost.cs (1)
73public string ProjectPath { get; } = projectPath;
artifacts\obj\ProjectResourceExtensions.AppHost\Debug\net10.0\Aspire\references\AzureFunctionsService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ProjectResourceExtensions\AzureFunctionsService\AzureFunctionsService.csproj""";
artifacts\obj\ProjectResourceExtensions.AppHost\Debug\net10.0\Aspire\references\CustomDebugService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ProjectResourceExtensions\CustomDebugService\CustomDebugService.csproj""";
artifacts\obj\ProjectResourceExtensions.AppHost\Debug\net10.0\Aspire\references\FakeIntegrationLibrary.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ProjectResourceExtensions\FakeIntegrationLibrary\FakeIntegrationLibrary.csproj""";
artifacts\obj\ProjectResourceExtensions.AppHost\Debug\net10.0\Aspire\references\StandardService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ProjectResourceExtensions\StandardService\StandardService.csproj""";
ProxylessEndToEnd.AppHost (1)
artifacts\obj\ProxylessEndToEnd.AppHost\Debug\net10.0\Aspire\references\ProxylessEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\ProxylessEndToEnd\ProxylessEndToEnd.ApiService\ProxylessEndToEnd.ApiService.csproj""";
Publishers.AppHost (3)
artifacts\obj\Publishers.AppHost\Debug\net10.0\Aspire\references\Publishers_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\publishers\Publishers.ApiService\Publishers.ApiService.csproj""";
artifacts\obj\Publishers.AppHost\Debug\net10.0\Aspire\references\Publishers_DbSetup.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\publishers\Publishers.DbSetup\Publishers.DbSetup.csproj""";
artifacts\obj\Publishers.AppHost\Debug\net10.0\Aspire\references\Publishers_Frontend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\publishers\Publishers.Frontend\Publishers.Frontend.csproj""";
Qdrant.AppHost (1)
artifacts\obj\Qdrant.AppHost\Debug\net10.0\Aspire\references\Qdrant_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Qdrant\Qdrant.ApiService\Qdrant.ApiService.csproj""";
Redis.AppHost (1)
artifacts\obj\Redis.AppHost\Debug\net10.0\Aspire\references\Redis_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Redis\Redis.ApiService\Redis.ApiService.csproj""";
Seq.AppHost (1)
artifacts\obj\Seq.AppHost\Debug\net10.0\Aspire\references\Seq_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\seq\Seq.ApiService\Seq.ApiService.csproj""";
ServiceBus.AppHost (1)
artifacts\obj\ServiceBus.AppHost\Debug\net10.0\Aspire\references\ServiceBusWorker.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\AzureServiceBus\ServiceBusWorker\ServiceBusWorker.csproj""";
SignalR.AppHost (2)
artifacts\obj\SignalR.AppHost\Debug\net10.0\Aspire\references\SignalRServerlessWeb.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\signalr\SignalRServerlessWeb\SignalRServerlessWeb.csproj""";
artifacts\obj\SignalR.AppHost\Debug\net10.0\Aspire\references\SignalRWeb.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\signalr\SignalRWeb\SignalRWeb.csproj""";
SqlServerEndToEnd.AppHost (2)
artifacts\obj\SqlServerEndToEnd.AppHost\Debug\net10.0\Aspire\references\SqlServerEndToEnd_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerEndToEnd\SqlServerEndToEnd.ApiService\SqlServerEndToEnd.ApiService.csproj""";
artifacts\obj\SqlServerEndToEnd.AppHost\Debug\net10.0\Aspire\references\SqlServerEndToEnd_Common.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerEndToEnd\SqlServerEndToEnd.Common\SqlServerEndToEnd.Common.csproj""";
Stress.AppHost (3)
artifacts\obj\Stress.AppHost\Debug\net10.0\Aspire\references\Stress_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Stress\Stress.ApiService\Stress.ApiService.csproj""";
artifacts\obj\Stress.AppHost\Debug\net10.0\Aspire\references\Stress_Empty.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Stress\Stress.Empty\Stress.Empty.csproj""";
artifacts\obj\Stress.AppHost\Debug\net10.0\Aspire\references\Stress_TelemetryService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Stress\Stress.TelemetryService\Stress.TelemetryService.csproj""";
Terminals.AppHost (1)
artifacts\obj\Terminals.AppHost\Debug\net10.0\Aspire\references\Terminals_Repl.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\Terminals\Terminals.Repl\Terminals.Repl.csproj""";
TestingAppHost1.AppHost (2)
artifacts\obj\TestingAppHost1.AppHost\Debug\net10.0\Aspire\references\TestingAppHost1_MyWebApp.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\TestingAppHost1\TestingAppHost1.MyWebApp\TestingAppHost1.MyWebApp.csproj""";
artifacts\obj\TestingAppHost1.AppHost\Debug\net10.0\Aspire\references\TestingAppHost1_MyWorker.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\TestingAppHost1\TestingAppHost1.MyWorker\TestingAppHost1.MyWorker.csproj""";
TestProject.AppHost (5)
artifacts\obj\TestProject.AppHost\Debug\net10.0\Aspire\references\IntegrationServiceA.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.IntegrationServiceA\TestProject.IntegrationServiceA.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net10.0\Aspire\references\ServiceA.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceA\TestProject.ServiceA.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net10.0\Aspire\references\ServiceB.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceB\TestProject.ServiceB.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net10.0\Aspire\references\ServiceC.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceC\TestProject.ServiceC.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net10.0\Aspire\references\WorkerA.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.WorkerA\TestProject.WorkerA.csproj""";
TestShop.AppHost (6)
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\ActivityGenerator.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\ActivityGenerator\ActivityGenerator.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\BasketService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\BasketService\BasketService.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\CatalogDb.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\CatalogDb\CatalogDb.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\CatalogService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\CatalogService\CatalogService.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\MyFrontend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\MyFrontend\MyFrontend.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net10.0\Aspire\references\OrderProcessor.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\OrderProcessor\OrderProcessor.csproj""";
WaitForSandbox.AppHost (3)
artifacts\obj\WaitForSandbox.AppHost\Debug\net10.0\Aspire\references\WaitFor_Frontend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitFor.Frontend\WaitFor.Frontend.csproj""";
artifacts\obj\WaitForSandbox.AppHost\Debug\net10.0\Aspire\references\WaitForSandbox_ApiService.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitForSandbox.ApiService\WaitForSandbox.ApiService.csproj""";
artifacts\obj\WaitForSandbox.AppHost\Debug\net10.0\Aspire\references\WaitForSandbox_DbSetup.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitForSandbox.DbSetup\WaitForSandbox.DbSetup.csproj""";
WebPubSub.AppHost (1)
artifacts\obj\WebPubSub.AppHost\Debug\net10.0\Aspire\references\WebPubSubWeb.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\webpubsub\WebPubSubWeb\WebPubSubWeb.csproj""";
Yarp.AppHost (2)
artifacts\obj\Yarp.AppHost\Debug\net10.0\Aspire\references\Yarp_Backend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\yarp\Yarp.Backend\Yarp.Backend.csproj""";
artifacts\obj\Yarp.AppHost\Debug\net10.0\Aspire\references\Yarp_Frontend.ProjectMetadata.g.cs (1)
18public string ProjectPath => """D:\a\_work\1\s\playground\yarp\Yarp.Frontend\Yarp.Frontend.csproj""";
102 references to ProjectPath
Aspire.Hosting (32)
ApplicationModel\DotnetProgramPublishing.cs (1)
203var projectDirectory = Path.GetDirectoryName(projectMetadata.ProjectPath)!;
ApplicationModel\ExecutableLaunchRecipe.cs (5)
448var workingDirectory = executableAnnotation?.WorkingDirectory ?? Path.GetDirectoryName(projectMetadata.ProjectPath) ?? string.Empty; 455launchOverride.Apply(projectArguments, projectMetadata.ProjectPath, context.DistributedApplicationOptions.Configuration); 594ProjectPath = projectMetadata.ProjectPath 619projectArguments.Add(projectMetadata.ProjectPath); 637projectMetadata.ProjectPath
ApplicationModel\ProjectLaunchConfigurationFactory.cs (1)
32ProjectPath = projectMetadata.ProjectPath,
ApplicationModel\ProjectResource.cs (1)
39path = metadata.ProjectPath;
Dcp\ExecutableCreator.cs (1)
306Path.GetDirectoryName(projectMetadata.ProjectPath);
Dcp\ResourceSnapshotBuilder.cs (2)
145projectPath = projectResource.GetProjectMetadata().ProjectPath; 151projectPath = projectMetadata.ProjectPath;
ExecutableResourceBuilderExtensions.cs (1)
164dockerfileContextPath = Path.GetDirectoryName(projectMetadata.ProjectPath) ?? dockerfileContextPath;
IProjectMetadata.cs (1)
69public bool IsFileBasedApp => string.Equals(Path.GetExtension(ProjectPath), ".cs", StringComparison.OrdinalIgnoreCase);
ProjectResourceBuilderExtensions.cs (5)
577var projectDirectory = Path.GetDirectoryName(currentProjectMetadata.ProjectPath); 1086var projectFilePath = builder.Resource.GetProjectMetadata().ProjectPath; 1118var projectDirectoryPath = Path.GetDirectoryName(projectMetadata.ProjectPath)!; 1146var rebuilder = new ProjectRebuilderResource(rebuilderName, projectResource, projectMetadata.ProjectPath); 1154context.Args.Add(projectMetadata.ProjectPath);
Publishing\ManifestPublishingContext.cs (1)
240var relativePathToProjectFile = GetManifestRelativePath(metadata.ProjectPath);
Publishing\ResourceContainerImageManager.cs (9)
586projectMetadata.ProjectPath, 654logger.LogDebug("dotnet publish {ProjectPath} (stdout): {Output}", projectMetadata.ProjectPath, output); 659logger.LogDebug("dotnet publish {ProjectPath} (stderr): {Error}", projectMetadata.ProjectPath, error); 678$"Failed to build container image for resource '{resource.Name}' from project '{projectMetadata.ProjectPath}' with exit code {processResult.ExitCode}."; 790Path.GetDirectoryName(projectMetadata.ProjectPath); 824projectMetadata.ProjectPath, 853projectMetadata.ProjectPath); 863projectMetadata.ProjectPath, 874projectMetadata.ProjectPath);
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
76if (!File.Exists(projectMetadata.ProjectPath)) 78var message = string.Format(CultureInfo.InvariantCulture, LaunchProfileStrings.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath); 82var projectFileInfo = new FileInfo(projectMetadata.ProjectPath); 99var runSettingsFilePath = Path.ChangeExtension(projectMetadata.ProjectPath, ".run.json");
Aspire.Hosting.Azure.Functions (5)
AzureFunctionsProjectResourceExtensions.cs (1)
241.WithDebugSupport(mode => new AzureFunctionsLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "azure-functions");
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
76if (!File.Exists(projectMetadata.ProjectPath)) 78var message = string.Format(CultureInfo.InvariantCulture, LaunchProfileStrings.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath); 82var projectFileInfo = new FileInfo(projectMetadata.ProjectPath); 99var runSettingsFilePath = Path.ChangeExtension(projectMetadata.ProjectPath, ".run.json");
Aspire.Hosting.Azure.Tests (2)
AzureFunctionsTests.cs (2)
981Assert.Contains("TestFunctions.csproj", projectMetadata.ProjectPath); 1003Assert.True(Path.IsPathRooted(projectMetadata.ProjectPath));
Aspire.Hosting.Blazor (5)
BlazorGatewayExtensions.cs (1)
193var projectPath = metadata.ProjectPath;
BlazorHostedExtensions.cs (4)
183projectMetadata.ProjectPath, 199var serverDirectory = Path.GetDirectoryName(projectMetadata.ProjectPath); 210projectMetadata.ProjectPath, 216projectMetadata.ProjectPath,
Aspire.Hosting.Blazor.Tests (4)
AddBlazorGatewayTests.cs (1)
62gateway.Resource.GetProjectMetadata().ProjectPath);
AddDotnetProjectBlazorGatewayTests.cs (3)
24Assert.True(File.Exists(projectMetadata.ProjectPath)); 25Assert.Equal("Gateway.cs", Path.GetFileName(projectMetadata.ProjectPath)); 26Assert.Equal("Scripts", Path.GetFileName(Path.GetDirectoryName(projectMetadata.ProjectPath)));
Aspire.Hosting.Dotnet (7)
DotnetProjectBuildCoordinator.cs (1)
852if (metadata is not { IsFileBasedApp: true } || !File.Exists(metadata.ProjectPath))
DotnetProjectHostingExtensions.cs (2)
430metadata.ProjectPath, 457ctx.Args.Add(metadata.ProjectPath);
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (4)
76if (!File.Exists(projectMetadata.ProjectPath)) 78var message = string.Format(CultureInfo.InvariantCulture, LaunchProfileStrings.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath); 82var projectFileInfo = new FileInfo(projectMetadata.ProjectPath); 99var runSettingsFilePath = Path.ChangeExtension(projectMetadata.ProjectPath, ".run.json");
Aspire.Hosting.Dotnet.Tests (24)
DotnetProjectBuildCoordinatorTests.cs (1)
3815resource.Resource.GetProjectMetadata().ProjectPath,
DotnetProjectFacadeTests.cs (1)
144var replacement = new DotnetProjectMetadata(original.ProjectPath, buildConfiguration: null, "service");
DotnetProjectPathTests.cs (14)
33Assert.Equal(projectPath, metadata.ProjectPath); 34Assert.Equal(projectPath, relativeResource.Resource.GetProjectMetadata().ProjectPath); 69Assert.Equal(projectPath, absolute.Resource.GetProjectMetadata().ProjectPath); 70Assert.Equal(projectPath, relative.Resource.GetProjectMetadata().ProjectPath); 79Assert.Equal(projectPath, absolute.Resource.GetProjectMetadata().ProjectPath); 80Assert.Equal(projectPath, relative.Resource.GetProjectMetadata().ProjectPath); 102Path.TrimEndingDirectorySeparator(resource.Resource.GetProjectMetadata().ProjectPath)); 132Assert.Equal(directory.FullName, resource.Resource.GetProjectMetadata().ProjectPath); 205Assert.Equal(includeCSharpProject ? csharpPath : directory.FullName, legacy.Resource.GetProjectMetadata().ProjectPath); 206Assert.Equal(includeCSharpProject ? csharpPath : directory.FullName, legacyFileApp.Resource.GetProjectMetadata().ProjectPath); 207Assert.Equal(directory.FullName, modern.Resource.GetProjectMetadata().ProjectPath); 225Assert.Equal(workspace.Path, legacy.Resource.GetProjectMetadata().ProjectPath); 226Assert.Equal(path, modern.Resource.GetProjectMetadata().ProjectPath); 335Assert.Equal(path, excluded.Resource.GetProjectMetadata().ProjectPath);
DotnetProjectResourceTests.cs (4)
149Assert.Equal(projectPath, metadata.ProjectPath); 176var expectedPath = Path.GetRelativePath(workspace.Path, metadata.ProjectPath).Replace('\\', '/'); 459Assert.Equal(projectPath, metadata.ProjectPath); 477Assert.Equal(projectDir.FullName, metadata.ProjectPath);
Helpers\DotnetProjectContractFactory.cs (2)
41if (File.Exists(metadata.ProjectPath)) 43return metadata.ProjectPath;
WslcDotnetPublishingTests.cs (2)
104"publish", resource.Resource.GetProjectMetadata().ProjectPath, 148resource.Resource.GetProjectMetadata().ProjectPath,
Aspire.Hosting.EntityFrameworkCore (4)
EFCoreOperationExecutor.cs (1)
195return metadata.ProjectPath;
EFMigrationResourceBuilderExtensions.cs (2)
267builder.Resource.MigrationsProjectPath = metadata.ProjectPath; 302builder.WithMigrationsProject(metadata.ProjectPath);
EFResourceBuilderExtensions.cs (1)
722var startupProjectDir = Path.GetDirectoryName(migrationResource.StartupProjectResource.GetProjectMetadata().ProjectPath)!;
Aspire.Hosting.EntityFrameworkCore.Tests (3)
EFBuildCustomizationWarningTests.cs (2)
211migrations.MigrationsProjectPath ?? migrations.StartupProjectResource.GetProjectMetadata().ProjectPath]); 214args.AddRange(["--startup-project", migrations.StartupProjectResource.GetProjectMetadata().ProjectPath]);
EFMigrationConfigurationTests.cs (1)
248Assert.Equal(target.Resource.GetProjectMetadata().ProjectPath, migrations.Resource.MigrationsProjectPath);
Aspire.Hosting.Testing (1)
DistributedApplicationEntryPointInvoker.cs (1)
42$"The specified entry point type '{entryPointType.FullName}' is generated project metadata for '{projectMetadata.ProjectPath}', " +
Aspire.Hosting.Testing.Tests (3)
DistributedApplicationEntryPointInvokerTests.cs (1)
22$"The specified entry point type '{entryPointType.FullName}' is generated project metadata for '{projectMetadata.ProjectPath}', " +
TestingBuilderTests.cs (2)
157Assert.Equal(new Projects.TestingAppHost1_MyWebApp().ProjectPath, web.Resource.GetProjectMetadata().ProjectPath); 158Assert.Equal(new Projects.TestingAppHost1_MyWorker().ProjectPath, worker.Resource.GetProjectMetadata().ProjectPath);
Aspire.Hosting.Tests (8)
DebugSupportExtensionsTests.cs (1)
517private static string GetProjectPath(IResource resource) => resource.Annotations.OfType<IProjectMetadata>().Last().ProjectPath;
ProjectRebuilderResourceTests.cs (3)
44project.Resource.GetProjectMetadata().ProjectPath, 78project.Resource.GetProjectMetadata().ProjectPath 111project.Resource.GetProjectMetadata().ProjectPath,
TestProgramModelTests.cs (4)
31Assert.True(Path.IsPathFullyQualified(project.GetProjectMetadata().ProjectPath)); 32Assert.Equal(metadata.ProjectPath, project.GetProjectMetadata().ProjectPath); 42Assert.Equal(new Projects.IntegrationServiceA().ProjectPath, integrationService.GetProjectMetadata().ProjectPath);
Aspire.Playground.Tests (2)
Infrastructure\DistributedApplicationExtensions.cs (1)
233var projectDirectory = Path.GetDirectoryName(metadata.ProjectPath) ?? throw new UnreachableException();
Infrastructure\ResourceExtensions.cs (1)
17return Path.GetFileNameWithoutExtension(metadata.ProjectPath);
Pipelines.Library (2)
DistributedApplicationPipelineExtensions.cs (2)
40ProjectResource project => project.GetProjectMetadata().ProjectPath, 41DotnetProjectResource project => project.GetProjectMetadata().ProjectPath,