Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit b6a6820

Browse files
committed
Always sign assemblies
Signed an unsigned assemblies can behave differently. It's important that they're consistently signed when testing.
1 parent 8550743 commit b6a6820

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

signingkey.snk

-596 Bytes
Binary file not shown.

src/common/signing.props

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,15 @@
44
<BuildType Condition="Exists('..\..\script\key.snk')">Internal</BuildType>
55
</PropertyGroup>
66

7-
<PropertyGroup Condition="'$(BuildType)' == 'Internal'">
7+
<PropertyGroup>
88
<AssemblyOriginatorKeyFile>..\..\key.snk</AssemblyOriginatorKeyFile>
99
<SignAssembly>true</SignAssembly>
1010
<DelaySign>false</DelaySign>
1111
</PropertyGroup>
1212

13-
<PropertyGroup Condition="'$(BuildType)' != 'Internal' and Exists('..\..\signingkey')">
14-
<AssemblyOriginatorKeyFile>..\..\signingkey.snk</AssemblyOriginatorKeyFile>
15-
<SignAssembly>true</SignAssembly>
16-
<DelaySign>false</DelaySign>
17-
</PropertyGroup>
18-
1913
<ItemGroup>
20-
<None Include="..\..\key.snk" Condition="'$(BuildType)' == 'Internal'">
14+
<None Include="..\..\key.snk">
2115
<Link>key.snk</Link>
2216
</None>
23-
24-
<None Include="..\..\signingkey" Condition="'$(BuildType)' != 'Internal' and Exists('..\..\signingkey')">
25-
<Link>signingkey</Link>
26-
</None>
2717
</ItemGroup>
2818
</Project>

0 commit comments

Comments
 (0)