From 747269ce8f6b5520ed5116aa92fc55d70e33c9bc Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Thu, 30 Jan 2025 08:16:51 -1000 Subject: [PATCH] Remove strong name signing. --- external/Java.Interop | 2 +- product.snk | Bin 596 -> 0 bytes samples/NativeAOT/NativeAOT.csproj | 3 --- .../Mono.Android.Export.csproj | 2 -- .../Mono.Android.Runtime.csproj | 2 -- .../Properties/AssemblyInfo.cs.in | 2 +- src/Mono.Android/Mono.Android.csproj | 2 -- src/Mono.Android/Properties/AssemblyInfo.cs.in | 14 +++++++------- .../Properties/AssemblyInfo.cs | 4 ++-- .../Xamarin.Android.Build.Tests.csproj | 2 -- .../Xamarin.ProjectTools.csproj | 2 -- .../Xamarin.Android.Build.Tasks.csproj | 2 -- .../Xamarin.Android.NUnitLite.NET.csproj | 2 -- .../Xamarin.Android.Tools.Aidl.csproj | 2 -- .../MSBuildDeviceIntegration.csproj | 2 -- .../Java.Interop-Tests.NET.csproj | 2 -- .../Mono.Android.NET-Tests.csproj | 2 -- tools/vswhere/vswhere.csproj | 2 -- 18 files changed, 11 insertions(+), 38 deletions(-) delete mode 100644 product.snk diff --git a/external/Java.Interop b/external/Java.Interop index e288589d92a..b9835e34c95 160000 --- a/external/Java.Interop +++ b/external/Java.Interop @@ -1 +1 @@ -Subproject commit e288589d92afc9edd9070638ebed72f67e310117 +Subproject commit b9835e34c952c54aada9f7ca42883c8f8ec3f624 diff --git a/product.snk b/product.snk deleted file mode 100644 index 8c04e53be9de10b0b93a858762a6ccde7dd1ca75..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONaL0000(io&I=`|)hOD=SB)Ct~t*-<+~}TTPF;b1{7hv6%mFR)5O_04Fitw-g>%N%Si&>{ zSRwtWdJE{F)db&GPArqMxOkFZLQp=PRNwEPm4?~o^NKK6X;^z5;2&%R5HgD_mowWH zMegva_k_~F+ptW3+aeX%(;%V0RKO-_AT*Xf+mET>`|XD5-PrCIW8%vbixYKqk}OM% z+&Yj$#9?yOJI>?x7e&Q(-V zj+t=o2V%=|T&Fia5DhX}Y06y!%W zJlB#>Aipg}OZEQMgqb=}Oq8Z$hvHz90}Mx}obUvcD6L53gpqN8K@*~L>|VSP*k}WC z5atuLdt0s#;|OACYKz^;jFE!EQf(>@>Ke zQg8oCN$DFQqP<^XPrUgvtZtCALBAjnC{g&EC6F_++=)Uo{56ouZv~$$M&=3gocLg1 ziBf^E>~2capQt02#+x<@96{-@XP0eB)+OEr_!lnYQOI_3liA{$Zkg-_A1Uoh5>|tQ ipO_W%UW4{Ol(<6x7pyuYYn@jSz!JD1zG&IMEAfC3aUh2P diff --git a/samples/NativeAOT/NativeAOT.csproj b/samples/NativeAOT/NativeAOT.csproj index e392eaa7646..906a4833c42 100644 --- a/samples/NativeAOT/NativeAOT.csproj +++ b/samples/NativeAOT/NativeAOT.csproj @@ -10,9 +10,6 @@ 1.0 apk true - - true - ..\..\product.snk android-arm64 diff --git a/src/Mono.Android.Export/Mono.Android.Export.csproj b/src/Mono.Android.Export/Mono.Android.Export.csproj index 5c0934a3b99..c13c27e5432 100644 --- a/src/Mono.Android.Export/Mono.Android.Export.csproj +++ b/src/Mono.Android.Export/Mono.Android.Export.csproj @@ -6,8 +6,6 @@ $(DotNetTargetFramework) - true - ..\..\product.snk true false true diff --git a/src/Mono.Android.Runtime/Mono.Android.Runtime.csproj b/src/Mono.Android.Runtime/Mono.Android.Runtime.csproj index 7612d7a2835..546b320152e 100644 --- a/src/Mono.Android.Runtime/Mono.Android.Runtime.csproj +++ b/src/Mono.Android.Runtime/Mono.Android.Runtime.csproj @@ -8,7 +8,6 @@ $(DotNetTargetFramework) true false - ..\..\product.snk false true false @@ -17,7 +16,6 @@ true enable true - true $(NoWarn);CS0169;CS0414;CS0649 diff --git a/src/Mono.Android.Runtime/Properties/AssemblyInfo.cs.in b/src/Mono.Android.Runtime/Properties/AssemblyInfo.cs.in index fee83c88b9c..712eea047d7 100644 --- a/src/Mono.Android.Runtime/Properties/AssemblyInfo.cs.in +++ b/src/Mono.Android.Runtime/Properties/AssemblyInfo.cs.in @@ -18,4 +18,4 @@ using System.Runtime.Versioning; [assembly: TargetPlatform("Android@API_LEVEL@.0")] [assembly: SupportedOSPlatform("Android@MIN_API_LEVEL@.0")] -[assembly: InternalsVisibleTo("Mono.Android, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +[assembly: InternalsVisibleTo("Mono.Android")] diff --git a/src/Mono.Android/Mono.Android.csproj b/src/Mono.Android/Mono.Android.csproj index 093a6d6a8ac..2baddd97ccd 100644 --- a/src/Mono.Android/Mono.Android.csproj +++ b/src/Mono.Android/Mono.Android.csproj @@ -8,8 +8,6 @@ $(DotNetTargetFramework) Android - true - ..\..\product.snk 0618;0809;0108;0114;0465;8609;8610;8614;8617;8613;8764;8765;8766;8767;RS0041 $(WarningsAsErrors);CS2002 true diff --git a/src/Mono.Android/Properties/AssemblyInfo.cs.in b/src/Mono.Android/Properties/AssemblyInfo.cs.in index 9d8b6f5694b..a85b6b9cf7d 100644 --- a/src/Mono.Android/Properties/AssemblyInfo.cs.in +++ b/src/Mono.Android/Properties/AssemblyInfo.cs.in @@ -39,13 +39,13 @@ using System.Runtime.Versioning; [assembly: System.Runtime.CompilerServices.TypeForwardedToAttribute(typeof(System.Drawing.SystemColors))] #pragma warning restore RS0016 // Symbol is not part of the declared API -[assembly: InternalsVisibleTo("Mono.Android.Export, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo("Mono.Android-Tests, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo("Java.Interop-Tests, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo("Mono.Android-TestsMultiDex, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo("Mono.Android-TestsAppBundle, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo("Mono.Android.NET-Tests, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +[assembly: InternalsVisibleTo("Mono.Android.Export")] +[assembly: InternalsVisibleTo("Mono.Android-Tests")] +[assembly: InternalsVisibleTo("Java.Interop-Tests")] +[assembly: InternalsVisibleTo("Mono.Android-TestsMultiDex")] +[assembly: InternalsVisibleTo("Mono.Android-TestsAppBundle")] +[assembly: InternalsVisibleTo("Mono.Android.NET-Tests")] // Temporary for samples/NativeAOT -[assembly: InternalsVisibleTo("NativeAOT, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +[assembly: InternalsVisibleTo("NativeAOT")] [assembly: SuppressMessage ("ApiDesign", "RS0016:Add public types and members to the declared API", Justification = "Analyzer fails due to extended characters.", Scope = "member", Target = "~F:Android.Util.Patterns.GoodIriChar")] diff --git a/src/Xamarin.Android.Build.Tasks/Properties/AssemblyInfo.cs b/src/Xamarin.Android.Build.Tasks/Properties/AssemblyInfo.cs index 0bd860a35e2..1f2391072b7 100644 --- a/src/Xamarin.Android.Build.Tasks/Properties/AssemblyInfo.cs +++ b/src/Xamarin.Android.Build.Tasks/Properties/AssemblyInfo.cs @@ -18,5 +18,5 @@ // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid ("42bb9aea-f4d8-4b43-8956-8e1fee857697")] -[assembly: InternalsVisibleTo ("Xamarin.Android.Build.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] -[assembly: InternalsVisibleTo ("MSBuildDeviceIntegration, PublicKey=0024000004800000940000000602000000240000525341310004000011000000438ac2a5acfbf16cbd2b2b47a62762f273df9cb2795ceccdf77d10bf508e69e7a362ea7a45455bbf3ac955e1f2e2814f144e5d817efc4c6502cc012df310783348304e3ae38573c6d658c234025821fda87a0be8a0d504df564e2c93b2b878925f42503e9d54dfef9f9586d9e6f38a305769587b1de01f6c0410328b2c9733db")] +[assembly: InternalsVisibleTo ("Xamarin.Android.Build.Tests")] +[assembly: InternalsVisibleTo ("MSBuildDeviceIntegration")] diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Xamarin.Android.Build.Tests.csproj b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Xamarin.Android.Build.Tests.csproj index 3e752c6992d..6f2e304b958 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Xamarin.Android.Build.Tests.csproj +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Xamarin.Android.Build.Tests.csproj @@ -4,8 +4,6 @@ $(DotNetStableTargetFramework) true ..\..\..\..\bin\Test$(Configuration) - true - ..\..\..\..\product.snk True portable $(NoWarn);CA1305 diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Xamarin.ProjectTools.csproj b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Xamarin.ProjectTools.csproj index 5109e4beef7..2162356875e 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Xamarin.ProjectTools.csproj +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.ProjectTools/Xamarin.ProjectTools.csproj @@ -4,8 +4,6 @@ {2DD1EE75-6D8D-4653-A800-0A24367F7F38} true $(DotNetStableTargetFramework) - true - ..\..\..\..\product.snk $(NoWarn);CA1305 <_IncludeMicrosoftBuildPackage>true annotations diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj index 9586df6e7c1..98fe7a9359f 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Build.Tasks.csproj @@ -17,8 +17,6 @@ $(DefineConstants);TRACE;HAVE_CECIL;MSBUILD;XABT_MANIFEST_EXTENSIONS ..\..\src\Mono.Android\obj\$(Configuration)\$(DotNetTargetFramework)\android-$(AndroidLatestStablePlatformId)\mcw 8632 - false - ..\..\product.snk annotations $(NoWarn);CA1310;CA1305 diff --git a/src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.NET.csproj b/src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.NET.csproj index a5f67db8c7f..7742a1b255c 100644 --- a/src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.NET.csproj +++ b/src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.NET.csproj @@ -5,8 +5,6 @@ $(AndroidMinimumDotNetApiLevel) Library Xamarin.Android.NUnitLite - true - ..\..\product.snk false true