Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
945
stars
171
forks
source link
[MSBuild] CustomBuildStep executable fails if the path contains spaces #214
Here's example sharpmake.cs configuration:
When Visual Studio projects are generated, the path is not escaped, therefore the command fails with:
program C:\Program cannot be found
.I suggest a fix in the
Vcxproj.cs
file:(wrapping {0} with ")
If that fix looks correct to you, I'm happy to fill a PR. Otherwise, maybe I'm doing something wrong?