2 implementations of AppHostDirectory
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
64public string AppHostDirectory { get; }
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
122public string AppHostDirectory => _innerBuilder.AppHostDirectory;
13 references to AppHostDirectory
Aspire.Hosting (5)
ContainerResourceBuilderExtensions.cs (2)
99var annotation = new ContainerMountAnnotation(Path.GetFullPath(source, builder.ApplicationBuilder.AppHostDirectory), target, ContainerMountType.BindMount, isReadOnly); 345var fullyQualifiedContextPath = Path.GetFullPath(contextPath, builder.ApplicationBuilder.AppHostDirectory);
ExecutableResourceBuilderExtensions.cs (1)
50workingDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory));
ProjectResourceBuilderExtensions.cs (1)
280projectPath = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, projectPath));
Utils\ImageNameGenerator.cs (1)
14var bytes = Encoding.UTF8.GetBytes(builder.ApplicationBuilder.AppHostDirectory);
Aspire.Hosting.Azure (1)
AzureBicepResourceExtensions.cs (1)
27var path = Path.GetFullPath(Path.Combine(builder.AppHostDirectory, bicepFile));
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
155var importDirectoryFullPath = Path.GetFullPath(importDirectory, builder.ApplicationBuilder.AppHostDirectory);
Aspire.Hosting.NodeJs (2)
NodeExtensions.cs (2)
32workingDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory)); 62workingDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, workingDirectory));
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (1)
120projectDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, projectDirectory));
PythonProjectResourceBuilderExtensions.cs (1)
123projectDirectory = PathNormalizer.NormalizePathForCurrentPlatform(Path.Combine(builder.AppHostDirectory, projectDirectory));
Aspire.Hosting.Tests (2)
DistributedApplicationBuilderTests.cs (1)
92var appHostDirectory = appBuilder.AppHostDirectory;
ManifestGenerationTests.cs (1)
317options.OutputPath = program.AppBuilder.AppHostDirectory;