Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[Localization] Fix build for path containing spaces #381
Conversation
This comment has been minimized.
This comment has been minimized.
You should probably also update "\docs\technical\editor-localization.md". |
This comment has been minimized.
This comment has been minimized.
Curious, shouldn't it be Also, note that if I create a new csproj, it uses |
This comment has been minimized.
This comment has been minimized.
According to the XML spec |
This comment has been minimized.
This comment has been minimized.
@dfkeenan ok thanks for the clarification (not a XML expert). I will probably merge this PR as is then. |
This comment has been minimized.
This comment has been minimized.
I'm no expert either. But I did some googling and everything I found only mentioned There were already |
This comment has been minimized.
This comment has been minimized.
Thanks, merged! |
Kryptos-FR commentedFeb 16, 2019
PR Details
If the path to the project contains any spaces, then the build steps for the localization files will fail.
Description
Escape all paths in the command line. Special case for
$(TargetDir)
that needs an extra.
since otherwise the last quote is escaped as well.Related Issue
None.
Motivation and Context
Building from sources will fail for users that have a space in the path where the sources are located. Especially annoying if the space is in the username.
Types of changes
Checklist