From dd35b12a823a42a22a1d4cfdd15cf3d342a6edad Mon Sep 17 00:00:00 2001 From: Elie Bariche <33458222+ebariche@users.noreply.github.com> Date: Thu, 15 Feb 2024 17:23:12 -0500 Subject: [PATCH] fix: Specify root mode for root assembly --- .../LinkerHintsGenerator/LinkerHintGeneratorTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SourceGenerators/Uno.UI.Tasks/LinkerHintsGenerator/LinkerHintGeneratorTask.cs b/src/SourceGenerators/Uno.UI.Tasks/LinkerHintsGenerator/LinkerHintGeneratorTask.cs index 29aebf1a13ab..baeb05fa5103 100644 --- a/src/SourceGenerators/Uno.UI.Tasks/LinkerHintsGenerator/LinkerHintGeneratorTask.cs +++ b/src/SourceGenerators/Uno.UI.Tasks/LinkerHintsGenerator/LinkerHintGeneratorTask.cs @@ -151,7 +151,7 @@ private void RunLinker(string outputPath, string features) // $"--used-attrs-only true", // not used to keep additional linker hints $"--skip-unresolved true", $"-b true", - $"-a {AssemblyPath}", + $"-a {AssemblyPath} entrypoint", $"-out {outputPath}", referencedAssemblies, features,