From 75d9d4309815ec2740ebd3289830e0323762e884 Mon Sep 17 00:00:00 2001 From: Tom Kirby-Green Date: Thu, 6 Jan 2022 11:18:02 +0000 Subject: [PATCH] Missing PublicKey when exposing internals to strongly named assemblies The new Push assemblies for iOS and Android need to provide their public key, this resolves: "Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations" --- src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs b/src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs index e7e7ffffe..b30d3345a 100644 --- a/src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs +++ b/src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs @@ -8,8 +8,8 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] -[assembly: InternalsVisibleTo("IO.Ably.Push.Android")] -[assembly: InternalsVisibleTo("IO.Ably.Push.iOS")] +[assembly: InternalsVisibleTo("IO.Ably.Push.Android, PublicKey=002400000480000094000000060200000024000052534131000400000100010001394bb0af9eb8e04f43676c91691de20f2137847e153e27bb96cf2dedf43bce3073f699ca136fb7f9eea0d9b9c6748e9c0be5543761945e101062f8770129512c4c397a08c1b459357e7a49a4dfd7e16ac9c84d1ab3fe1177b3e7741ea10eba746433691bbf1ad643bdf25bcf397a384f96e8d138b129bdb663189200d33dcf")] +[assembly: InternalsVisibleTo("IO.Ably.Push.iOS, PublicKey=002400000480000094000000060200000024000052534131000400000100010001394bb0af9eb8e04f43676c91691de20f2137847e153e27bb96cf2dedf43bce3073f699ca136fb7f9eea0d9b9c6748e9c0be5543761945e101062f8770129512c4c397a08c1b459357e7a49a4dfd7e16ac9c84d1ab3fe1177b3e7741ea10eba746433691bbf1ad643bdf25bcf397a384f96e8d138b129bdb663189200d33dcf")] #if !PACKAGE [assembly: InternalsVisibleTo("IO.Ably.Tests.DotNetCore20")] #endif