Skip to content

Commit ccf9a73

Browse files
committed
assembly strong name signing
1 parent 80bc098 commit ccf9a73

File tree

5 files changed

+33
-12
lines changed

5 files changed

+33
-12
lines changed

CSRedis.Tests/CSRedis.Tests.csproj

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@
3434
<ErrorReport>prompt</ErrorReport>
3535
<WarningLevel>4</WarningLevel>
3636
</PropertyGroup>
37+
<PropertyGroup>
38+
<SignAssembly>true</SignAssembly>
39+
</PropertyGroup>
40+
<PropertyGroup>
41+
<AssemblyOriginatorKeyFile>csredis.public.snk</AssemblyOriginatorKeyFile>
42+
</PropertyGroup>
43+
<PropertyGroup>
44+
<DelaySign>true</DelaySign>
45+
</PropertyGroup>
3746
<ItemGroup>
3847
<Reference Include="System" />
3948
<Reference Include="System.Configuration" />
@@ -51,28 +60,30 @@
5160
</Otherwise>
5261
</Choose>
5362
<ItemGroup>
54-
<Compile Include="SentinelTests.cs" />
55-
<Compile Include="StringTests.cs" />
56-
<Compile Include="ServerTests.cs" />
57-
<Compile Include="ScriptingTests.cs" />
58-
<Compile Include="TransactionTests.cs" />
59-
<Compile Include="PubSubTests.cs" />
60-
<Compile Include="HyperLogLogTests.cs" />
6163
<Compile Include="ConnectionTests.cs" />
62-
<Compile Include="SortedSetTests.cs" />
63-
<Compile Include="SetTests.cs" />
64-
<Compile Include="ListTests.cs" />
6564
<Compile Include="HashTests.cs" />
65+
<Compile Include="HyperLogLogTests.cs" />
6666
<Compile Include="KeyTests.cs" />
67+
<Compile Include="ListTests.cs" />
6768
<Compile Include="Properties\AssemblyInfo.cs" />
69+
<Compile Include="PubSubTests.cs" />
70+
<Compile Include="ScriptingTests.cs" />
71+
<Compile Include="SentinelTests.cs" />
72+
<Compile Include="ServerTests.cs" />
73+
<Compile Include="SetTests.cs" />
74+
<Compile Include="SortedSetTests.cs" />
75+
<Compile Include="StringTests.cs" />
76+
<Compile Include="TransactionTests.cs" />
77+
</ItemGroup>
78+
<ItemGroup>
79+
<None Include="csredis.public.snk" />
6880
</ItemGroup>
6981
<ItemGroup>
7082
<ProjectReference Include="..\CSRedis\CSRedis.csproj">
7183
<Project>{d35e185e-a7e1-41e1-846c-21944f56074f}</Project>
7284
<Name>CSRedis</Name>
7385
</ProjectReference>
7486
</ItemGroup>
75-
<ItemGroup />
7687
<Choose>
7788
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
7889
<ItemGroup>

CSRedis.Tests/csredis.public.snk

160 Bytes
Binary file not shown.

CSRedis/CSRedis.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@
3737
<PropertyGroup>
3838
<StartupObject />
3939
</PropertyGroup>
40+
<PropertyGroup>
41+
<SignAssembly>true</SignAssembly>
42+
</PropertyGroup>
43+
<PropertyGroup>
44+
<DelaySign>true</DelaySign>
45+
</PropertyGroup>
46+
<PropertyGroup>
47+
<AssemblyOriginatorKeyFile>csredis.public.snk</AssemblyOriginatorKeyFile>
48+
</PropertyGroup>
4049
<ItemGroup>
4150
<Reference Include="System" />
4251
<Reference Include="System.Core" />
@@ -105,6 +114,7 @@
105114
</ItemGroup>
106115
<ItemGroup>
107116
<None Include="CSRedis.nuspec" />
117+
<None Include="csredis.public.snk" />
108118
</ItemGroup>
109119
<ItemGroup />
110120
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

CSRedis/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
[assembly: AssemblyVersion("3.1.0")]
2626
[assembly: AssemblyFileVersion("3.1.0")]
2727
[assembly: AssemblyInformationalVersion("3.1.0-rc1")]
28-
[assembly: InternalsVisibleTo("CSRedis.Tests")]
28+
[assembly: InternalsVisibleTo("CSRedis.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b7e70b54a9e7596d195fd76f95b0fc80f53158f828c72a84b153168637072cb94f8f8d8f574948ad1c4267f1a2e7feb31df0adcb97f46156bcc32c022278a589f9d21b79d3a5cce62a68497fd4abc96daeb7f1d8dbf204d95b6dcccec52e2ed274d8b7bacd4db0a381f9301832fdedcf52eaa66ff2d7867f8fd7f5c932b055aa")]

CSRedis/csredis.public.snk

160 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)