From c82cbabd984f9b63255cccba6bfc5fb13fa99550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Tue, 12 Dec 2023 01:13:29 +0100 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 bac804e1e1d49..198c14cc971a6 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. --> +