Skip to content

aspire wait <resource> --project x.csproj reports 'no running apphosts found' #16774

@loekd

Description

@loekd

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The aspire wait command does not work when you provide a value for --project.

Expected Behavior

Expected the wait command to work when passing the proper AppHost project file path (full path or relative path).

Steps To Reproduce

  • In a terminal, run an app host
  • Navigate to the folder that holds the AppHost
  • Call aspire wait x --project y.csproj
  • This command will always return 'X No running AppHosts found.'
  • Call aspire wait x (without --project)
  • This command will return the proper status

Exceptions (if any)

No exceptions or errors in the debug output.
Using v13.3.0-preview.1.26111 (latest preview on winget today)

Aspire doctor output

n/a

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions