diff --git a/Tools/MonoGame.Tools.Tests/BuilderTargetsTest.cs b/Tools/MonoGame.Tools.Tests/BuilderTargetsTest.cs index e39e87743e1..990d3c9d61a 100644 --- a/Tools/MonoGame.Tools.Tests/BuilderTargetsTest.cs +++ b/Tools/MonoGame.Tools.Tests/BuilderTargetsTest.cs @@ -31,7 +31,7 @@ bool RunBuild(string buildTool, string projectFile, params string[] parameters) var tool = FindTool(buildTool); var psi = new ProcessStartInfo(tool) { - Arguments = $"build {projectFile} -t:IncludeContent {string.Join(" ", parameters)} -tl:off -bl -p:DotnetCommand={tool}", + Arguments = $"build {projectFile} -t:IncludeContent {string.Join(" ", parameters)} -tl:off -bl -p:DotnetCommand=\"{tool}\"", WorkingDirectory = root, UseShellExecute = false, RedirectStandardOutput = true,