Skip to content

Fix parsing quoted empty arg in response file#185

Merged
jasongin merged 3 commits intomainfrom
dev/jasongin/empty-response-args
Nov 20, 2023
Merged

Fix parsing quoted empty arg in response file#185
jasongin merged 3 commits intomainfrom
dev/jasongin/empty-response-args

Conversation

@jasongin
Copy link
Copy Markdown
Member

@jasongin jasongin commented Nov 20, 2023

This fixes a build break for .NET Framework 4.x, where the response file has --packs "" (because .NET Framework doesn't have the concept of "targeting packs"). The empty quoted argument broke the parser. I'm not sure how that bug got past a PR build originally.

This fix had been included in #180 but that PR is taking longer to finish, and is unrelated anyway. I'm splitting out this fix to unblock builds of other PRs.

Also I'm adding the generated .rsp file to the build logs archive, to help with diagnosing future issues related to this area.

@jasongin jasongin requested a review from vmoroz November 20, 2023 21:25
@jasongin jasongin merged commit 61ce5b3 into main Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants