From 3b2fb7c406d521ef0d8090120f5c1bca460ec539 Mon Sep 17 00:00:00 2001 From: TheCakeIsNaOH Date: Mon, 27 Jun 2022 11:23:33 -0500 Subject: [PATCH] (#2738) Fix ILMerge errors Updated the location of the system DLLs for the updated .NET version. --- recipe.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe.cake b/recipe.cake index 932e83e1ce..3d2f0badc9 100644 --- a/recipe.cake +++ b/recipe.cake @@ -16,7 +16,7 @@ Func> getILMergeConfigs = () => { var mergeConfigs = new List(); - var targetPlatform = "v4,C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.0"; + var targetPlatform = "v4,C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8"; var assembliesToILMerge = GetFiles(BuildParameters.Paths.Directories.PublishedApplications + "/choco/*.{exe|dll}") - GetFiles(BuildParameters.Paths.Directories.PublishedApplications + "/choco/choco.exe") - GetFiles(BuildParameters.Paths.Directories.PublishedApplications + "/choco/System.Management.Automation.dll");