Fix bug to correctly redefine ILCSdkPath if ILCPath is overridden but ILCSDKPath is not.

This commit is contained in:
Gaurav Khanna 2015-12-20 07:59:09 -08:00
parent 2faa8a1270
commit 155b5221af

View file

@ -56,6 +56,12 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
if (!string.IsNullOrEmpty(IlcPath))
{
config.IlcPath = IlcPath;
// If ILCSdkPath is not specified, then default it to be the same as the overridden ILCPath
if (string.IsNullOrEmpty(IlcSdkPath))
{
IlcSdkPath = IlcPath;
}
}
if (!string.IsNullOrEmpty(IlcSdkPath))