commandLineArgs not working when adding a project with a launchProfileName #6892
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
untriaged
New issue has not been triaged
Is there an existing issue for this?
Describe the bug
When adding a project, and specifying a
launchProfileName
the correct launch profile is used. However thecommandLineArgs
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).
The text was updated successfully, but these errors were encountered: