Fix bug to correctly redefine ILCSdkPath if ILCPath is overridden but ILCSDKPath is not.
This commit is contained in:
parent
2faa8a1270
commit
155b5221af
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ namespace Microsoft.DotNet.Tools.Compiler.Native
|
||||||
if (!string.IsNullOrEmpty(IlcPath))
|
if (!string.IsNullOrEmpty(IlcPath))
|
||||||
{
|
{
|
||||||
config.IlcPath = 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))
|
if (!string.IsNullOrEmpty(IlcSdkPath))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue