Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ty values - use html encoding for spaces instead
  • Loading branch information...
commit edb89dec613a3d8b11e329bd1ea868225181c6ab 1 parent 757b219
@kenegozi kenegozi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Phantom.Core/Builtins/MSBuild.cs
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.