Skip to content

Conversation

@tlmii
Copy link
Member

@tlmii tlmii commented Dec 17, 2024

Addresses dotnet/aspire#6120

Whether or not args is null is an important piece of information to the IDE when the json gets deserialized. A value of null would indicate that a user-specified set of command line arguments can be used to launch the project. A non-null value (empty or not) would indicate that the user-specified set of command line arguments should be replaced with those in the array.

The current model has a default value of Array.Empty<string>() which means the IDE will always receive an array of strings regardless of whether the orchestrator passed null.

This issue has been present for a while but was hidden because VS was not properly overriding user-specified command line arguments until 17.12.

@tlmii tlmii requested review from karolz-ms and tmat December 17, 2024 19:36
@tlmii tlmii self-assigned this Dec 17, 2024
@tlmii tlmii requested a review from a team as a code owner December 17, 2024 19:36
@ghost ghost added Area-Infrastructure untriaged Request triage from a team member labels Dec 17, 2024
@tmat tmat merged commit a6ba4fa into release/9.0.2xx Dec 18, 2024
28 of 31 checks passed
@tmat tmat deleted the dev/tlmii/aspire-runsession-definition-change-on-9.0.2xx branch December 18, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Infrastructure untriaged Request triage from a team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants