xamarin-macios/tools/dotnet-linker
Rolf Bjarne Kvinge 69015b3cec
[dotnet] Honor 'TrimMode' to specify linker behavior if LinkMode/MtouchLink aren't set. Fixes #13518. (#13543)
* Change dotnet-linker to only care about whether we're actually trimming anything or not.
* Allow LinkMde/MtouchLink to not be set if TrimMode is set.
* Detect if any assemblies are linked or not by checking the global TrimMode
  property + any TrimMode properties on assemblies.

Fixes https://github.com/xamarin/xamarin-macios/issues/13518.
2021-12-15 09:27:00 +01:00
..
Steps [dotnet-linker] We must store the availability attributes when linking. (#13547) 2021-12-14 08:20:05 +01:00
.gitignore [build] Use arcade dependency management tooling (#10890) 2021-04-02 00:02:27 -04:00
ApplyPreserveAttributeBase.cs Update to new linker custom steps API (#11374) 2021-05-12 12:26:54 -04:00
BackingFieldDelayHandler.cs [dotnet][linker] Remove unused backing fields (#12001) 2021-07-21 09:03:25 -04:00
Compat.cs [dotnet] Honor 'TrimMode' to specify linker behavior if LinkMode/MtouchLink aren't set. Fixes #13518. (#13543) 2021-12-15 09:27:00 +01:00
DotNetResolver.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
Extensions.cs Fixes for .NET 6 linker (#11739) 2021-06-14 20:10:29 -04:00
LinkerConfiguration.cs [dotnet] Honor 'TrimMode' to specify linker behavior if LinkMode/MtouchLink aren't set. Fixes #13518. (#13543) 2021-12-15 09:27:00 +01:00
Makefile [dotnet-linker] Touch the build output to avoid make confusion. (#13549) 2021-12-14 08:19:41 +01:00
MarkIProtocolHandler.cs [dotnet-linker] Mark protocol interfaces when using the dynamic registrar. Fixes #12644. (#12737) 2021-09-16 08:16:39 +02:00
README.md Add some documentation. 2020-06-03 09:10:27 +02:00
SetupStep.cs Fixes for .NET 6 linker (#11739) 2021-06-14 20:10:29 -04:00
dotnet-linker.csproj [introspection] Migrate .NET code to use the new .NET-style availability attributes. (#13363) 2021-11-22 20:54:07 +01:00
dotnet-linker.sln [tools] Add dotnet-linker, a project to contain custom linker steps for our net5.0 build. 2020-06-02 15:55:56 +02:00

README.md

Linker

This directory contains the custom linker steps for the managed linker when building Xamarin.iOS/tvOS/watchOS/macOS apps using .NET 5.

This is work in progress, and is not in a releasable state yet.