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

@ -42,5 +42,19 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
.Should()
.Pass();
}
[Fact]
public void It_builds_projects_with_spaces_in_the_path()
{
var testInstance = TestAssetsManager
.CreateTestInstance("TestLibrary With Spaces")
.WithLockFiles();
new BuildCommand("")
.WithWorkingDirectory(testInstance.TestRoot)
.ExecuteWithCapturedOutput()
.Should()
.Pass();
}
}
}