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