25 references to ReadAllLinesAsync
aspire (3)
Projects\GuestAppHostProject.cs (1)
1937
foreach (var line in await File.
ReadAllLinesAsync
(manifestPath, cancellationToken).ConfigureAwait(false))
Projects\PrebuiltAppHostServer.cs (2)
1548
var lines = await File.
ReadAllLinesAsync
(filePath, cancellationToken);
1559
var lines = await File.
ReadAllLinesAsync
(filePath, cancellationToken).ConfigureAwait(false);
Aspire.Acquisition.Tests (1)
Scripts\PRScriptPSFunctionTests.cs (1)
104
Assert.Contains(cliBinDir, await File.
ReadAllLinesAsync
(githubPath));
Aspire.Cli.Tests (5)
Acquisition\PeerInstallProbeTests.cs (1)
93
var argv = await File.
ReadAllLinesAsync
(fakePeer.ArgvFile, TestContext.Current.CancellationToken);
Commands\RunCommandTests.cs (2)
3811
var lines = await File.
ReadAllLinesAsync
(logFilePath);
3848
var lines = await File.
ReadAllLinesAsync
(logFilePath);
DotNet\ProcessExecutionDetachedTests.cs (1)
115
], await File.
ReadAllLinesAsync
(capturePath));
Npm\NpmRunnerTests.cs (1)
180
await File.
ReadAllLinesAsync
(argumentsPath, TestContext.Current.CancellationToken));
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (2)
147
var dockerfileLines = await File.
ReadAllLinesAsync
(Path.Combine(workspace.Path, "js.Dockerfile"));
362
var dockerfileLines = await File.
ReadAllLinesAsync
(dockerfilePath);
Aspire.Hosting.Sdk.Tests (5)
AppHostSdkTargetsTests.cs (5)
451
await File.
ReadAllLinesAsync
(captureFile));
492
await File.
ReadAllLinesAsync
(captureFile));
530
await File.
ReadAllLinesAsync
(captureFile));
569
await File.
ReadAllLinesAsync
(captureFile));
1104
return await File.
ReadAllLinesAsync
(packageReferencesPath);
Aspire.Hosting.Tests (9)
MSBuildTests.cs (9)
368
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
392
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
416
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
462
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
487
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
611
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
665
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
701
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));
730
var resolvedPaths = await File.
ReadAllLinesAsync
(Path.Combine(appHostDirectory, "obj", "resolved-aspire-paths.txt"));