From 8b35fafc11c5d8c3778336526317a36a63e04e7b Mon Sep 17 00:00:00 2001 From: Eirik Tsarpalis Date: Thu, 6 Jul 2023 16:35:21 +0100 Subject: [PATCH] Disable default JSON reflection when PublishTrimmed == true --- .../illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets | 1 + 1 file changed, 1 insertion(+) 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 4ae285b0250f5..9c23d0ee20d7e 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 @@ -44,6 +44,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(EnableCppCLIHostActivation)' == 'true'">true <_EnableConsumingManagedCodeFromNativeHosting Condition="'$(_EnableConsumingManagedCodeFromNativeHosting)' == ''">false true + false