Skip to content

[0.64] Fix MSBuild Bundling When Path Contains Spaces - #7678

Merged
Nick Gerleman (NickGerleman) merged 6 commits into
microsoft:0.64-stablefrom
NickGerleman:escape-bundle-targets-64
May 20, 2021
Merged

Nick Gerleman (NickGerleman) merged 6 commits into
microsoft:0.64-stablefrom
NickGerleman:escape-bundle-targets-64

Conversation

@NickGerleman

@NickGerleman Nick Gerleman (NickGerleman) commented Apr 28, 2021 •

Copy link
Copy Markdown
Contributor

Fixes #7597

We're passing raw strings into the exec string for running commands from MSBuild. Paths with spaces will be interpreted as multiple CLI args. Wrap paths in quotes to fix paths with spaces.

Backporting to 0.64 due to internal partner ask.

Microsoft Reviewers: Open in CodeFlow

Fixes microsoft#7597

We're passing raw strings into the exec string for running commands from MSBuild. Paths with spaces will be interpreted as multiple CLI args. Wrap paths in quotes to fix paths with spaces.
@eastcoastcoder

Copy link
Copy Markdown

Still not working for me 0.65 just building a new project has become a nightmare, I've tried linking my User folder to one without a space, overwriting my $env:LOCALAPPDATA in powershell and all kinds of tricks. It doesn't work.
image
image

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants