14 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
416
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (13)
Commands\ExecCommandTests.cs (3)
175
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
193
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
211
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\ExtensionInternalCommandTests.cs (4)
220
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
278
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
328
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
378
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
Commands\RunCommandTests.cs (4)
99
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
157
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
175
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1109
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\NoProjectFileProjectLocator.cs (1)
15
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
TestServices\TestProjectLocator.cs (1)
16
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
5 references to UseOrFindAppHostProjectFileAsync
aspire (5)
Commands\AddCommand.cs (1)
87
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\ExecCommand.cs (1)
139
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\PipelineCommandBase.cs (1)
119
var effectiveAppHostFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\RunCommand.cs (1)
119
var effectiveAppHostFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\UpdateCommand.cs (1)
104
var projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);