From c42fd5602476dc88fd0d677a23ed15e8592a91e9 Mon Sep 17 00:00:00 2001 From: "Eric St. John" Date: Mon, 3 Apr 2017 10:15:17 -0700 Subject: Add ILLink to the build This adds ILLink (a .NET Core build of the mono linker) to the build tools and uses it to trim non-public unreachable IL and metadata from our assemblies. This is enabled by default for any assembly that is part of NETCore.App. This can be disabled by setting ILLinkTrimAssembly=false. In some cases ILLink may trim too much, for example a runtime dependency via reflection on private or internal API. If we cannot update ILLink to understand this dependency via heuristic then we can manually "root" the private or internal API. This is done by adding an XML file next to the project with the name ILLinkTrim.xml that follows the format documented here: https://github.com/mono/linker/blob/master/linker/README --- external/dir.proj | 1 + 1 file changed, 1 insertion(+) (limited to 'external/dir.proj') diff --git a/external/dir.proj b/external/dir.proj index 8d1b033ca6..3912e6143f 100644 --- a/external/dir.proj +++ b/external/dir.proj @@ -15,6 +15,7 @@ + -- cgit v1.2.3