Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 4220e34

Browse files
committed
Added LinkerSafe to all assemblies
See the original PR #77 by @jonathanpeppers Basically we can enable these assemblies to be linked when projects are set to Link SDK Assemblies only. This can always be opted out of by specifying `AndroidLinkSkip` in your .csproj’s: ``` <PropertyGroup> <AndroidLinkSkip>Xamarin.Android.Support.Compat;Xamarin.Android.Support.Compat.UI;...</AndroidLinkSkip> </PropertyGroup> ```
1 parent a2ca1ad commit 4220e34

File tree

38 files changed

+78
-2
lines changed

38 files changed

+78
-2
lines changed

animated-vector-drawable/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@
2525
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
2626

2727
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
28+
29+
[assembly: LinkerSafe]

appcompat-v7/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@
2727
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
2828

2929
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
30+
31+
[assembly: LinkerSafe]

arch-core/common/source/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@
3030
[assembly: AssemblyMetadata ("BUILD_NUMBER", "{BUILD_NUMBER}")]
3131
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
3232

33-
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
33+
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
34+
35+
[assembly: LinkerSafe]

arch-lifecycle/common/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@
3131
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
3232

3333
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
34+
35+
[assembly: LinkerSafe]

arch-lifecycle/runtime/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@
3131
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
3232

3333
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
34+
35+
[assembly: LinkerSafe]

cardview-v7/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@
2626
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
2727

2828
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
29+
30+
[assembly: LinkerSafe]

constraint-layout-solver/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@
2525
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
2626

2727
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
28+
29+
[assembly: LinkerSafe]

constraint-layout/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@
2525
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
2626

2727
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
28+
29+
[assembly: LinkerSafe]

customtabs/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@
3131
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
3232

3333
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
34+
35+
[assembly: LinkerSafe]

design/source/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@
3131
[assembly: AssemblyMetadata ("BUILD_TIMESTAMP", "{BUILD_TIMESTAMP}")]
3232

3333
[assembly: AssemblyInformationalVersion ("{NUGET_VERSION}")]
34+
35+
[assembly: LinkerSafe]

0 commit comments

Comments
 (0)