Skip to content

Commit 289053b

Browse files
authored
[dotnet] Use [AssemblyMetadata ("IsTrimmable", "True")] in platforms assemblies (#11228)
Fix #10673
1 parent 3511995 commit 289053b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dotnet/targets/Xamarin.Shared.Sdk.DefaultItems.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
RuntimePackNamePatterns="Microsoft.$(_PlatformName).Runtime.**RID**"
7979
RuntimePackRuntimeIdentifiers="$(_RuntimePackRuntimeIdentifiers)"
8080
Profile="$(_PlatformName)"
81-
IsTrimmable="true"
8281
/>
8382
</ItemGroup>
8483

src/AssemblyInfo.cs.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ using System.Runtime.CompilerServices;
1616
// [assembly: AssemblyCopyright ("Copyright 2011-2014 Xamarin Inc.")]
1717
[assembly: AssemblyCompany ("Xamarin Inc.")]
1818

19+
[assembly: AssemblyMetadata ("IsTrimmable", "True")]
20+
1921
[assembly: InternalsVisibleTo ("System.Net.Http,PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")]

0 commit comments

Comments
 (0)