Skip to content

Commit a12f5f2

Browse files
authored
Merge pull request #289 from InKahootz/strongname-sign-assemblies
Strong-name sign assemblies
2 parents da97424 + 376a2e2 commit a12f5f2

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CommunityToolkit.HighPerformance/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
// We need to test the RuntimeHelpers polyfills on applicable runtimes
1414
#if !NETSTANDARD2_1_OR_GREATER
15-
[assembly: InternalsVisibleTo("CommunityToolkit.HighPerformance.UnitTests")]
15+
[assembly: InternalsVisibleTo("CommunityToolkit.HighPerformance.UnitTests, publickey=002400000480000094000000060200000024000052534131000400000100010041753AF735AE6140C9508567666C51C6AB929806ADB0D210694B30AB142A060237BC741F9682E7D8D4310364B4BBA4EE89CC9D3D5CE7E5583587E8EA44DCA09977996582875E71FB54FA7B170798D853D5D8010B07219633BDB761D01AC924DA44576D6180CDCEAE537973982BB461C541541D58417A3794E34F45E6F2D129E2")]
1616
#endif

CommunityToolkit.Mvvm/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
// See notes in CommunityToolkit.HighPerformance for more info
88
[module: SkipLocalsInit]
99

10-
[assembly: InternalsVisibleTo("CommunityToolkit.Mvvm.Internals.UnitTests")]
10+
[assembly: InternalsVisibleTo("CommunityToolkit.Mvvm.Internals.UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010041753AF735AE6140C9508567666C51C6AB929806ADB0D210694B30AB142A060237BC741F9682E7D8D4310364B4BBA4EE89CC9D3D5CE7E5583587E8EA44DCA09977996582875E71FB54FA7B170798D853D5D8010B07219633BDB761D01AC924DA44576D6180CDCEAE537973982BB461C541541D58417A3794E34F45E6F2D129E2")]

build/Community.Toolkit.Common.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<Nullable>enable</Nullable>
2121
</PropertyGroup>
2222

23+
<PropertyGroup>
24+
<SignAssembly>true</SignAssembly>
25+
<AssemblyOriginatorKeyFile>$(RepositoryDirectory)toolkit.snk</AssemblyOriginatorKeyFile>
26+
</PropertyGroup>
27+
2328
<PropertyGroup>
2429
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
2530
<IsCoreProject Condition="$(IsTestProject)">False</IsCoreProject>

0 commit comments

Comments
 (0)