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
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue