dotnet build fails with xmlDoc = true and spaces in the path.

Need to quote the xmlDoc argument to the csc compiler.

Fix #2600
This commit is contained in:
Eric Erhardt 2016-04-27 15:43:12 -05:00
parent 1f0910ebcc
commit 2ed81240fa
6 changed files with 58 additions and 2 deletions

View file

@ -14,7 +14,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
public class TestCommand
{
protected string _command;
private string _baseDirectory;
public string WorkingDirectory { get; set; }
@ -33,6 +33,12 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
#endif
}
public TestCommand WithWorkingDirectory(string workingDirectory)
{
WorkingDirectory = workingDirectory;
return this;
}
public virtual CommandResult Execute(string args = "")
{
var commandPath = _command;