4 overrides of Path
Aspire.Hosting (1)
Utils\FileSystemService.cs (1)
184public override string Path => _path;
Aspire.Hosting.Blazor.Tests (1)
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
2526public override string Path => path;
tests\Shared\TestFileSystemService.cs (1)
60public override string Path => path;
68 references to Path
Aspire.Hosting (7)
ApplicationModel\DotnetProgramPublishing.cs (4)
210var runtimeOutputPath = stagedArchiveDirectory?.Path ?? buildResult.OutputPath; 241stagedArchiveDirectory.Path, 244var normalizedArchivePath = Path.Combine(stagedArchiveDirectory.Path, "normalized.tar"); 296logger.LogWarning(ex, "Failed to delete temporary container archive directory {ArchiveDirectory}", stagedArchiveDirectory.Path);
Dcp\Locations.cs (2)
36fileSystemService.UntrackItem(_dcpSessionDir.Path); 56return _dcpSessionDir.Path;
Pipelines\PipelineOutputService.cs (1)
40_tempDirectory = directoryService.TempDirectory.CreateTempSubdirectory("aspire-pipelines").Path;
Aspire.Hosting.Azure (2)
AzurePublishingContext.cs (1)
142var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Provisioning\Provisioners\BicepProvisioner.cs (1)
544var tempDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-bicep").Path;
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.AksPipeline.cs (1)
286var kubeConfigPath = Path.Combine(kubeConfigDir.Path, "kubeconfig");
Aspire.Hosting.Blazor.Tests (17)
AddBlazorGatewayTests.cs (12)
169var clientDirectory = Path.Combine(directory.Path, "Client"); 173File.Copy(Path.Combine(clientDirectory, "global.json"), Path.Combine(directory.Path, "global.json")); 176await File.WriteAllTextAsync(Path.Combine(directory.Path, "PrefixEndpoints.cs"), 189await File.WriteAllTextAsync(Path.Combine(directory.Path, "Dockerfile"), dockerfile); 192builder.AddDockerfile("client-publish", directory.Path); 208var clientDirectory = Path.Combine(directory.Path, "Client"); 210await File.WriteAllTextAsync(Path.Combine(directory.Path, "Test.slnx"), "<Solution />"); 212options => options.ProjectDirectory = directory.Path, testOutputHelper, "AppHost:Operation=publish"); 229var gatewayDirectory = Directory.CreateDirectory(Path.Combine(directory.Path, "Gateway")).FullName; 240var prefixScriptPath = Path.Combine(directory.Path, ".aspire", "scripts", "PrefixEndpoints.cs"); 383var projectPath = Path.Combine(directory.Path, "Client.csproj"); 412var projectPath = Path.Combine(directory.Path, "Client.csproj");
BlazorHostedExtensionsTests.cs (5)
244var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 321var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj"); 637var serverDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Server")); 638var clientDirectory = Directory.CreateDirectory(Path.Combine(tempDirectory.Path, "Client")); 661var serverProjectPath = Path.Combine(tempDirectory.Path, "Server.csproj");
Aspire.Hosting.Browsers (1)
BrowserLogsUserDataDirectory.cs (1)
29new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsUserDataDirectory.cs (1)
29new(temporaryDirectory.Path, profileDirectoryName: null, temporaryDirectory);
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
32builder.Services.Configure<PipelineOptions>(options => options.OutputPath = workspace.Path);
Aspire.Hosting.Maui (2)
Utilities\MauiAndroidEnvironmentAnnotation.cs (1)
77var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-android-env").Path;
Utilities\MauiiOSEnvironmentAnnotation.cs (1)
77var environmentTargetsDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-maui-mlaunch-env").Path;
Aspire.Hosting.Tests (36)
Dashboard\DashboardServiceTests.cs (4)
1611producerUdsPath: Path.Combine(directory.Path, "producer.sock"), 1612consumerUdsPath: Path.Combine(directory.Path, "consumer.sock"), 1613controlUdsPath: Path.Combine(directory.Path, "control.sock"), 1614metadataPath: Path.Combine(directory.Path, "metadata.json"));
Dcp\DcpExecutorTests.cs (5)
6714[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6730var expectedCertificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 6765[AspireStore.AspireStorePathKeyName] = aspireStoreDirectory.Path, 6778var certificatesRoot = Path.Join(aspireStoreDirectory.Path, ".aspire", "dcp", "executables", "TestExecutable-12345678", "certificates"); 12120aspireStoreDirectory = fileSystemService.TempDirectory.CreateTempSubdirectory("aspire-store").Path;
FileSystemServiceTests.cs (18)
51Assert.NotNull(tempDir.Path); 52Assert.True(Directory.Exists(tempDir.Path)); 62Assert.NotNull(tempDir.Path); 63Assert.True(Directory.Exists(tempDir.Path)); 64Assert.Contains("test-prefix", tempDir.Path); 72var path = tempDir.Path; 146extractedPath = tempDir.Path; 198Assert.NotEqual(tempDir1.Path, tempDir2.Path); 199Assert.True(Directory.Exists(tempDir1.Path)); 200Assert.True(Directory.Exists(tempDir2.Path)); 240var dirPath = tempDir.Path; 260var dirPath = tempDir.Path; 284var dirPath = tempDir.Path; 329var dir1Path = tempDir1.Path; 330var dir2Path = tempDir2.Path; 370var dirPath = tempDir.Path; 439Assert.True(Directory.Exists(tempDir.Path));
Pipelines\PipelineOutputComparisonTests.cs (6)
21var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 59var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 87var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 112var parent = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 140var root = _fileSystem.TempDirectory.CreateTempSubdirectory().Path; 162var parent = _fileSystem.TempDirectory.CreateTempSubdirectory().Path;
Pipelines\PipelineOutputSnapshotterTests.cs (1)
679private string CreateDirectory() => _fileSystem.TempDirectory.CreateTempSubdirectory().Path;
Terminals\Hex1bAspireTerminalTests.cs (2)
244await File.WriteAllTextAsync(Path.Combine(directory.Path, "working-directory-marker"), string.Empty); 268WorkingDirectory = directory.Path