Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
distantcam opened this issue Dec 7, 2024 · 2 comments
Open
1 task done
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication untriaged New issue has not been triaged

Comments

@distantcam
Copy link

distantcam commented Dec 7, 2024

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).

@mitchdenny
Copy link
Member

/cc @karolz-ms

@mitchdenny
Copy link
Member

Actually may be on the app model side should check that first.

@joperezr joperezr added the untriaged New issue has not been triaged label Dec 9, 2024
@joperezr joperezr added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

3 participants