Skip to content

commandLineArgs not working when adding a project with a launchProfileName #6892

Open
@distantcam

Description

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When adding a project, and specifying a launchProfileName the correct launch profile is used. However the commandLineArgs of the launch profile are not being passed on during execution.

Expected Behavior

The commandLineArgs are passed through as the arguments when the project is run.

Steps To Reproduce

https://github.com/distantcam/AspireLaunchArgsIssue

Run the apphost, notice the prestart resource doesn't finish, blocking the start of the main resource.

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

This was working in the previous version of Aspire (8.0).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    untriagedNew issue has not been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions