Permalink
Browse files

msbuild function bugfix - msbuild.exe does not allow quotes on proper…

…ty values - use html encoding for spaces instead
  • Loading branch information...
kenegozi committed Apr 20, 2012
1 parent 757b219 commit edb89dec613a3d8b11e329bd1ea868225181c6ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Phantom.Core/Builtins/MSBuild.cs
@@ -69,7 +69,7 @@ public class msbuild : ExecutableTool<msbuild> {
string args = "\"" + file + "\" /p:Configuration=" + configuration + " /t:" + string.Join(";", targets) + " /v:" + verbosity;
foreach (DictionaryEntry entry in properties) {
- args += " /p:" + entry.Key + "=\"" + entry.Value + "\"";
+ args += " /p:" + entry.Key + "=" + entry.Value.ToString().Replace(" ", "%20");
}
Execute(args);

0 comments on commit edb89de

Please sign in to comment.