77 implementations of ProjectPath
Aspire.Hosting.Azure.Tests (7)
AzureBicepResourceTests.cs (1)
2848public string ProjectPath => "projectA";
AzureContainerAppsTests.cs (1)
1926public string ProjectPath => "project";
AzureFunctionsTests.cs (5)
166public string ProjectPath => "some-path"; 183public string ProjectPath => "some-path"; 200public string ProjectPath => "some-path"; 217public string ProjectPath => "some-path"; 233public string ProjectPath => "some-path";
Aspire.Hosting.Dapr.Tests (1)
DaprSchemaTests.cs (1)
33public string ProjectPath => "projectA";
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
209public string ProjectPath => "projectA";
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
313public string ProjectPath => "projectA";
Aspire.Hosting.Tests (9)
Dashboard\DashboardResourceTests.cs (1)
527public string ProjectPath => "dashboard.csproj";
Dcp\ApplicationExecutorTests.cs (1)
1096public string ProjectPath => "TestProject";
ProjectResourceTests.cs (2)
660public string ProjectPath => "another-path"; 670public string ProjectPath => "another-path";
WithEndpointTests.cs (3)
602public string ProjectPath => "projectpath"; 608public string ProjectPath => "projectA"; 615public string ProjectPath => "projectB";
WithEnvironmentTests.cs (2)
274public string ProjectPath => "projectA"; 281public string ProjectPath => "projectB";
AzureContainerApps.AppHost (1)
artifacts\obj\AzureContainerApps.AppHost\Debug\net8.0\Aspire\references\AzureContainerApps_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AzureContainerApps\AzureContainerApps.ApiService\AzureContainerApps.ApiService.csproj""";
AzureFunctionsEndToEnd.AppHost (2)
artifacts\obj\AzureFunctionsEndToEnd.AppHost\Debug\net8.0\Aspire\references\AzureFunctionsEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.ApiService\AzureFunctionsEndToEnd.ApiService.csproj""";
artifacts\obj\AzureFunctionsEndToEnd.AppHost\Debug\net8.0\Aspire\references\AzureFunctionsEndToEnd_Functions.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AzureFunctionsEndToEnd\AzureFunctionsEndToEnd.Functions\AzureFunctionsEndToEnd.Functions.csproj""";
AzureSearch.AppHost (1)
artifacts\obj\AzureSearch.AppHost\Debug\net8.0\Aspire\references\AzureSearch_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AzureSearchEndToEnd\AzureSearch.ApiService\AzureSearch.ApiService.csproj""";
AzureStorageEndToEnd.AppHost (1)
artifacts\obj\AzureStorageEndToEnd.AppHost\Debug\net8.0\Aspire\references\AzureStorageEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AzureStorageEndToEnd\AzureStorageEndToEnd.ApiService\AzureStorageEndToEnd.ApiService.csproj""";
BicepSample.AppHost (1)
artifacts\obj\BicepSample.AppHost\Debug\net8.0\Aspire\references\BicepSample_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\bicep\BicepSample.ApiService\BicepSample.ApiService.csproj""";
BrowserTelemetry.AppHost (1)
artifacts\obj\BrowserTelemetry.AppHost\Debug\net8.0\Aspire\references\BrowserTelemetry_Web.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\BrowserTelemetry\BrowserTelemetry.Web\BrowserTelemetry.Web.csproj""";
CdkSample.AppHost (1)
artifacts\obj\CdkSample.AppHost\Debug\net8.0\Aspire\references\CdkSample_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\cdk\CdkSample.ApiService\CdkSample.ApiService.csproj""";
CosmosEndToEnd.AppHost (1)
artifacts\obj\CosmosEndToEnd.AppHost\Debug\net8.0\Aspire\references\CosmosEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\CosmosEndToEnd\CosmosEndToEnd.ApiService\CosmosEndToEnd.ApiService.csproj""";
Dapr.AppHost (3)
artifacts\obj\Dapr.AppHost\Debug\net8.0\Aspire\references\DaprServiceA.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\dapr\ServiceA\DaprServiceA.csproj""";
artifacts\obj\Dapr.AppHost\Debug\net8.0\Aspire\references\DaprServiceB.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\dapr\ServiceB\DaprServiceB.csproj""";
artifacts\obj\Dapr.AppHost\Debug\net8.0\Aspire\references\DaprServiceC.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\dapr\ServiceC\DaprServiceC.csproj""";
DatabaseMigration.AppHost (2)
artifacts\obj\DatabaseMigration.AppHost\Debug\net8.0\Aspire\references\DatabaseMigration_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\DatabaseMigration\DatabaseMigration.ApiService\DatabaseMigration.ApiService.csproj""";
artifacts\obj\DatabaseMigration.AppHost\Debug\net8.0\Aspire\references\DatabaseMigration_MigrationService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\DatabaseMigration\DatabaseMigration.MigrationService\DatabaseMigration.MigrationService.csproj""";
Elasticsearch.AppHost (1)
artifacts\obj\Elasticsearch.AppHost\Debug\net8.0\Aspire\references\Elasticsearch_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\Elasticsearch\Elasticsearch.ApiService\Elasticsearch.ApiService.csproj""";
EventHubs.AppHost (2)
artifacts\obj\EventHubs.AppHost\Debug\net8.0\Aspire\references\EventHubsApi.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AspireEventHub\EventHubsApi\EventHubsApi.csproj""";
artifacts\obj\EventHubs.AppHost\Debug\net8.0\Aspire\references\EventHubsConsumer.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\AspireEventHub\EventHubsConsumer\EventHubsConsumer.csproj""";
KafkaBasic.AppHost (2)
artifacts\obj\KafkaBasic.AppHost\Debug\net8.0\Aspire\references\Consumer.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\kafka\Consumer\Consumer.csproj""";
artifacts\obj\KafkaBasic.AppHost\Debug\net8.0\Aspire\references\Producer.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\kafka\Producer\Producer.csproj""";
Keycloak.AppHost (2)
artifacts\obj\Keycloak.AppHost\Debug\net8.0\Aspire\references\Keycloak_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\keycloak\Keycloak.ApiService\Keycloak.ApiService.csproj""";
artifacts\obj\Keycloak.AppHost\Debug\net8.0\Aspire\references\Keycloak_Web.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\keycloak\Keycloak.Web\Keycloak.Web.csproj""";
MilvusPlayground.AppHost (1)
artifacts\obj\MilvusPlayground.AppHost\Debug\net8.0\Aspire\references\MilvusPlayground_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\milvus\MilvusPlayground.ApiService\MilvusPlayground.ApiService.csproj""";
Mongo.AppHost (1)
artifacts\obj\Mongo.AppHost\Debug\net8.0\Aspire\references\Mongo_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\mongo\Mongo.ApiService\Mongo.ApiService.csproj""";
MySqlDb.AppHost (1)
artifacts\obj\MySqlDb.AppHost\Debug\net8.0\Aspire\references\MySql_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\mysql\MySql.ApiService\MySql.ApiService.csproj""";
Nats.AppHost (2)
artifacts\obj\Nats.AppHost\Debug\net8.0\Aspire\references\Nats_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\nats\Nats.ApiService\Nats.ApiService.csproj""";
artifacts\obj\Nats.AppHost\Debug\net8.0\Aspire\references\Nats_Backend.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\nats\Nats.Backend\Nats.Backend.csproj""";
OpenAIEndToEnd.AppHost (1)
artifacts\obj\OpenAIEndToEnd.AppHost\Debug\net8.0\Aspire\references\OpenAIEndToEnd_WebStory.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\OpenAIEndToEnd\OpenAIEndToEnd.WebStory\OpenAIEndToEnd.WebStory.csproj""";
OracleEndToEnd.AppHost (1)
artifacts\obj\OracleEndToEnd.AppHost\Debug\net8.0\Aspire\references\OracleEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\OracleEndToEnd\OracleEndToEnd.ApiService\OracleEndToEnd.ApiService.csproj""";
Orleans.AppHost (2)
artifacts\obj\Orleans.AppHost\Debug\net8.0\Aspire\references\OrleansClient.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\orleans\OrleansClient\OrleansClient.csproj""";
artifacts\obj\Orleans.AppHost\Debug\net8.0\Aspire\references\OrleansServer.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\orleans\OrleansServer\OrleansServer.csproj""";
ParameterEndToEnd.AppHost (1)
artifacts\obj\ParameterEndToEnd.AppHost\Debug\net8.0\Aspire\references\ParameterEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\ParameterEndToEnd\ParameterEndToEnd.ApiService\ParameterEndToEnd.ApiService.csproj""";
PostgresEndToEnd.AppHost (1)
artifacts\obj\PostgresEndToEnd.AppHost\Debug\net8.0\Aspire\references\PostgresEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\PostgresEndToEnd\PostgresEndToEnd.ApiService\PostgresEndToEnd.ApiService.csproj""";
ProxylessEndToEnd.AppHost (1)
artifacts\obj\ProxylessEndToEnd.AppHost\Debug\net8.0\Aspire\references\ProxylessEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\ProxylessEndToEnd\ProxylessEndToEnd.ApiService\ProxylessEndToEnd.ApiService.csproj""";
Qdrant.AppHost (1)
artifacts\obj\Qdrant.AppHost\Debug\net8.0\Aspire\references\Qdrant_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\Qdrant\Qdrant.ApiService\Qdrant.ApiService.csproj""";
Redis.AppHost (1)
artifacts\obj\Redis.AppHost\Debug\net8.0\Aspire\references\Redis_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\Redis\Redis.ApiService\Redis.ApiService.csproj""";
Seq.AppHost (1)
artifacts\obj\Seq.AppHost\Debug\net8.0\Aspire\references\Seq_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\seq\Seq.ApiService\Seq.ApiService.csproj""";
SignalR.AppHost (1)
artifacts\obj\SignalR.AppHost\Debug\net8.0\Aspire\references\SignalRWeb.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\signalr\SignalRWeb\SignalRWeb.csproj""";
SqlServerEndToEnd.AppHost (2)
artifacts\obj\SqlServerEndToEnd.AppHost\Debug\net8.0\Aspire\references\SqlServerEndToEnd_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerEndToEnd\SqlServerEndToEnd.ApiService\SqlServerEndToEnd.ApiService.csproj""";
artifacts\obj\SqlServerEndToEnd.AppHost\Debug\net8.0\Aspire\references\SqlServerEndToEnd_DbSetup.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\SqlServerEndToEnd\SqlServerEndToEnd.DbSetup\SqlServerEndToEnd.DbSetup.csproj""";
Stress.AppHost (2)
artifacts\obj\Stress.AppHost\Debug\net8.0\Aspire\references\Stress_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\Stress\Stress.ApiService\Stress.ApiService.csproj""";
artifacts\obj\Stress.AppHost\Debug\net8.0\Aspire\references\Stress_TelemetryService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\Stress\Stress.TelemetryService\Stress.TelemetryService.csproj""";
TestingAppHost1.AppHost (2)
artifacts\obj\TestingAppHost1.AppHost\Debug\net8.0\Aspire\references\TestingAppHost1_MyWebApp.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\TestingAppHost1\TestingAppHost1.MyWebApp\TestingAppHost1.MyWebApp.csproj""";
artifacts\obj\TestingAppHost1.AppHost\Debug\net8.0\Aspire\references\TestingAppHost1_MyWorker.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\TestingAppHost1\TestingAppHost1.MyWorker\TestingAppHost1.MyWorker.csproj""";
TestProject.AppHost (5)
artifacts\obj\TestProject.AppHost\Debug\net8.0\Aspire\references\IntegrationServiceA.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.IntegrationServiceA\TestProject.IntegrationServiceA.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net8.0\Aspire\references\ServiceA.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceA\TestProject.ServiceA.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net8.0\Aspire\references\ServiceB.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceB\TestProject.ServiceB.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net8.0\Aspire\references\ServiceC.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.ServiceC\TestProject.ServiceC.csproj""";
artifacts\obj\TestProject.AppHost\Debug\net8.0\Aspire\references\WorkerA.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\tests\testproject\TestProject.WorkerA\TestProject.WorkerA.csproj""";
TestShop.AppHost (6)
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\ApiGateway.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\ApiGateway\ApiGateway.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\BasketService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\BasketService\BasketService.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\CatalogDb.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\CatalogDb\CatalogDb.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\CatalogService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\CatalogService\CatalogService.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\MyFrontend.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\MyFrontend\MyFrontend.csproj""";
artifacts\obj\TestShop.AppHost\Debug\net8.0\Aspire\references\OrderProcessor.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\TestShop\OrderProcessor\OrderProcessor.csproj""";
WaitForSandbox.AppHost (3)
artifacts\obj\WaitForSandbox.AppHost\Debug\net8.0\Aspire\references\WaitFor_Frontend.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitFor.Frontend\WaitFor.Frontend.csproj""";
artifacts\obj\WaitForSandbox.AppHost\Debug\net8.0\Aspire\references\WaitForSandbox_ApiService.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitForSandbox.ApiService\WaitForSandbox.ApiService.csproj""";
artifacts\obj\WaitForSandbox.AppHost\Debug\net8.0\Aspire\references\WaitForSandbox_DbSetup.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\waitfor\WaitForSandbox.DbSetup\WaitForSandbox.DbSetup.csproj""";
WebPubSub.AppHost (1)
artifacts\obj\WebPubSub.AppHost\Debug\net8.0\Aspire\references\WebPubSubWeb.ProjectMetadata.g.cs (1)
10public string ProjectPath => """D:\a\_work\1\s\playground\webpubsub\WebPubSubWeb\WebPubSubWeb.csproj""";
15 references to ProjectPath
Aspire.Hosting (10)
Dcp\ApplicationExecutor.cs (5)
670projectPath = appModelResource is ProjectResource p ? p.GetProjectMetadata().ProjectPath : null; 1096exeSpec.Spec.WorkingDirectory = Path.GetDirectoryName(projectMetadata.ProjectPath); 1107projectLaunchConfiguration.ProjectPath = projectMetadata.ProjectPath; 1128projectMetadata.ProjectPath, 1138projectMetadata.ProjectPath
ProjectResourceBuilderExtensions.cs (1)
633var projectDirectoryPath = Path.GetDirectoryName(projectMetadata.ProjectPath)!;
Publishing\ManifestPublishingContext.cs (1)
154var relativePathToProjectFile = GetManifestRelativePath(metadata.ProjectPath);
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (3)
63if (!File.Exists(projectMetadata.ProjectPath)) 65var message = string.Format(CultureInfo.InvariantCulture, Resources.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath); 69var projectFileInfo = new FileInfo(projectMetadata.ProjectPath);
Aspire.Hosting.Azure.Functions (3)
src\Shared\LaunchProfiles\LaunchProfileExtensions.cs (3)
63if (!File.Exists(projectMetadata.ProjectPath)) 65var message = string.Format(CultureInfo.InvariantCulture, Resources.ProjectFileNotFoundExceptionMessage, projectMetadata.ProjectPath); 69var projectFileInfo = new FileInfo(projectMetadata.ProjectPath);
Aspire.Playground.Tests (2)
Infrastructure\DistributedApplicationExtensions.cs (1)
232var projectDirectory = Path.GetDirectoryName(project.GetProjectMetadata().ProjectPath) ?? throw new UnreachableException();
Infrastructure\ResourceExtensions.cs (1)
16return Path.GetFileNameWithoutExtension(metadata.ProjectPath);