Merge branch 'release/3.1.1xx' into merges/release/3.0.1xx-to-release/3.1.1xx

This commit is contained in:
Nick Guerrera 2019-09-26 15:33:25 -07:00
commit a4b4a7c9c5
14 changed files with 136 additions and 75 deletions

View file

@ -143,10 +143,12 @@ namespace EndToEnd.Tests
.Execute(restoreArgs)
.Should().Pass();
var dotnetRoot = Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest);
new BuildCommand()
.WithWorkingDirectory(projectDirectory)
.Execute()
.Should().Pass();
.WithEnvironmentVariable("PATH", dotnetRoot) // override PATH since razor rely on PATH to find dotnet
.WithWorkingDirectory(projectDirectory)
.Execute()
.Should().Pass();
}
}
}