xamarin-macios/dotnet
Rolf Bjarne Kvinge c85d7721d5
[dotnet] Pass -dead_strip to the native linker when we can. (#13541)
Pass -dead_strip to the native linker like we do for legacy Xamarin:

* If there are no custom linker arguments.
* If all third-party bindings in the app has SmartLink = true (this doesn't
  show up in the PR, but the logic exists for legacy Xamarin and is already
  executed for .NET, the resulting Application.DeadStrip value just wasn't
  taken into account).

This shrinks the app size a bot for a Hello World app:

* Before:     10.659.731 (https://gist.github.com/rolfbjarne/b5892a5c7fb8663d38e2b69f67bce90c)
* After:       9.940.240 (https://gist.github.com/rolfbjarne/8404394180fb9971bd2f1475b747c70a)
* Difference:   -719.491 (-6.7 %)
2021-12-13 20:41:43 +01:00
..
Microsoft.MacCatalyst.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.iOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.iOS.Windows.Sdk Import .NET 6 property page targets path in iOS sdk targets (#12556) 2021-08-27 12:17:06 +02:00
Microsoft.macOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.tvOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Templates [dotnet/Templates] Add preview language (#12965) 2021-10-11 08:00:01 +02:00
Workloads [dotnet] Import the aliased pack name, not the actual pack name. (#13426) 2021-11-23 15:53:08 +01:00
package [dotnet] Add runtime packs. 2021-11-30 18:20:43 +01:00
targets [dotnet] Pass -dead_strip to the native linker when we can. (#13541) 2021-12-13 20:41:43 +01:00
.gitignore [dotnet] use **FromWorkload** for targeting/runtime pack versions (#12449) 2021-08-19 09:03:11 +02:00
BreakingChanges.md [dotnet] Add documentation about this breaking change. 2021-11-29 08:54:17 +01:00
DefaultCompilationIncludes.md [dotnet] Remove watchOS code and from our .NET support. (#12764) 2021-09-20 07:40:03 +02:00
HIERARCHY.md [dotnet] Add support for 'dotnet publish'. Fixes #11807. (#12397) 2021-08-11 10:01:16 +02:00
Makefile [builds] Download & install the Mono workload as well. 2021-12-07 20:59:52 +01:00
PackageInfo.plist Fix typos in comments. 2020-10-19 10:38:11 +02:00
SingleProject.md [dotnet] rename $(AppleShortVersion) to $(ApplicationDisplayVersion) (#12647) 2021-09-08 10:13:29 -04:00
VERSIONS.md Rename master to main. (#8851) 2020-06-16 15:51:44 +02:00
build-custom-runtime.sh [configure] Add option to use a locally built dotnet/runtime. (#11643) 2021-05-21 22:18:25 +02:00
generate-target-platforms.csharp Bump to .NET 5.0.100-rc.2.20459.1 (#9758) 2020-10-02 08:31:38 +02:00
generate-wix.csharp [dotnet] Package the workloads in a Windows installer (.msi) as well. (#9979) 2020-10-28 11:09:55 +01:00