14 implementations of UseOrFindAppHostProjectFileAsync
aspire (1)
Projects\ProjectLocator.cs (1)
295
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken = default)
Aspire.Cli.Tests (13)
Commands\ExecCommandTests.cs (3)
176
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
189
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
202
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
Commands\ExtensionInternalCommandTests.cs (4)
211
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
264
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
309
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
354
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(
Commands\RunCommandTests.cs (4)
171
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
224
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
237
public Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
1270
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)
15
public async Task<FileInfo?>
UseOrFindAppHostProjectFileAsync
(FileInfo? projectFile, bool createSettingsFile, CancellationToken cancellationToken)
2 references to UseOrFindAppHostProjectFileAsync
aspire (2)
Commands\ExecCommand.cs (1)
134
var effectiveAppHostProjectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);
Commands\UpdateCommand.cs (1)
145
var projectFile = await _projectLocator.
UseOrFindAppHostProjectFileAsync
(passedAppHostProjectFile, createSettingsFile: true, cancellationToken);