Fixing msbuild.exe casing

This commit is contained in:
Livar Cunha 2016-10-14 14:58:36 -07:00
parent 8ad1982013
commit dab19ce57c
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ namespace Microsoft.DotNet.Cli.Utils
{
var msBuildExePath = _environment.GetEnvironmentVariable(Constants.MSBUILD_EXE_PATH);
msBuildExePath = string.IsNullOrEmpty(msBuildExePath) ?
Path.Combine(AppContext.BaseDirectory, "msbuild.exe") :
Path.Combine(AppContext.BaseDirectory, "MSBuild.exe") :
msBuildExePath;
Reporter.Verbose.WriteLine($"projetfactory: MSBUILD_EXE_PATH = {msBuildExePath}");

View file

@ -42,7 +42,7 @@ namespace Microsoft.DotNet.Cli.Utils.Tests
Environment.SetEnvironmentVariable(
Constants.MSBUILD_EXE_PATH,
Path.Combine(_repoDirectoriesProvider.Stage2Sdk, "msbuild.exe"));
Path.Combine(_repoDirectoriesProvider.Stage2Sdk, "MSBuild.exe"));
Environment.SetEnvironmentVariable("DOTNET_CLI_CONTEXT_VERBOSE", "true");
}