diff --git a/src/Microsoft.DotNet.Tools.Compiler.Native/ILCompilerInvoker.cs b/src/Microsoft.DotNet.Tools.Compiler.Native/ILCompilerInvoker.cs index 579fac1b9..35edbd667 100644 --- a/src/Microsoft.DotNet.Tools.Compiler.Native/ILCompilerInvoker.cs +++ b/src/Microsoft.DotNet.Tools.Compiler.Native/ILCompilerInvoker.cs @@ -46,7 +46,7 @@ namespace Microsoft.DotNet.Tools.Compiler.Native argsList.Add($"\"{inputFilePath}\""); // System.Private.CoreLib Reference - var coreLibPath = Path.Combine(config.IlcSdkPath, "sdk", "System.Private.CoreLib.dll"); + var coreLibPath = Path.Combine(config.IlcSdkPath, "sdk", "*.dll"); argsList.Add($"-r \"{coreLibPath}\""); // AppDep References