Skip to content

Commit

Permalink
Missing PublicKey when exposing internals to strongly named assemblies
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
tomkirbygreen committed Jan 6, 2022
1 parent 3d7d05e commit 75d9d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IO.Ably.NETStandard20/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 75d9d43

Please sign in to comment.