Merge pull request #2792 from eerhardt/Relative
Execute 'csc' with working directory set to the project directory.
This commit is contained in:
commit
9a85205781
18 changed files with 124 additions and 13 deletions
|
@ -176,6 +176,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Tests
|
|||
var projectJson = Path.Combine(TestAssetPath, "project.json");
|
||||
var command = new Mock<ICommand>();
|
||||
command.Setup(c => c.Execute()).Returns(new CommandResult());
|
||||
command.Setup(c => c.WorkingDirectory(It.IsAny<string>())).Returns(() => command.Object);
|
||||
command.Setup(c => c.OnErrorLine(It.IsAny<Action<string>>())).Returns(() => command.Object);
|
||||
command.Setup(c => c.OnOutputLine(It.IsAny<Action<string>>())).Returns(() => command.Object);
|
||||
var commandFactory = new Mock<ICommandFactory>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue