From a50f1ff7b73fe5d89d643d8c6d50cf1b3a1a89f1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:38:19 +0000 Subject: [PATCH 1/3] Initial plan From 7ed1e6e07fabfe0b1dae8f9ca64b268a09ac7be4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 18:43:52 +0000 Subject: [PATCH 2/3] Replace complex TrimmerSingleWarn intersection pattern with simpler Update approach Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> --- .../build/Microsoft.NET.ILLink.targets | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets index 25b31b223fe16f..b3e626b2ba3a39 100644 --- a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets +++ b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets @@ -227,19 +227,9 @@ Copyright (c) .NET Foundation. All rights reserved. - - <__SingleWarnIntermediateAssembly Include="@(ResolvedFileToPublish)" /> - <__SingleWarnIntermediateAssembly Remove="@(IntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly Include="@(ResolvedFileToPublish)" /> - <_SingleWarnIntermediateAssembly Remove="@(__SingleWarnIntermediateAssembly)" /> - - <_SingleWarnIntermediateAssembly> - false - - - - + + false + From 1cb9ce214bac59caf8a0775bf96db0ad0c9c5a42 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:42:16 +0000 Subject: [PATCH 3/3] Fix MSB4096: qualify TrimmerSingleWarn metadata reference in Update condition Co-authored-by: sbomer <787361+sbomer@users.noreply.github.com> --- .../illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets index b3e626b2ba3a39..56da8c086a825d 100644 --- a/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets +++ b/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets @@ -228,7 +228,7 @@ Copyright (c) .NET Foundation. All rights reserved. - false + false