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:
parent
1f0910ebcc
commit
2ed81240fa
6 changed files with 58 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue