From efb2b6c0dd970fff80280de3765137c97ca9142b Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Wed, 6 Dec 2023 21:10:16 -0800 Subject: [PATCH] Revert "Error out if SelfContained is not specified for Native AOT publish (#95496)" This reverts commit 1aae18a21ebb5f08a2a734cfe31ba4bd00b2ad7b. --- .../src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets | 5 +++-- 1 file changed, 3 insertions(+), 2 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 bac804e1e1d493..198c14cc971a60 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 @@ -196,8 +196,9 @@ Copyright (c) .NET Foundation. All rights reserved. - + in some cases. If we're not running ILLink because e.g. this + is a NativeAOT app, value of SelfContained doesn't matter. --> +