Skip to content

Commit 9f29bd2

Browse files
committed
Add strong-name signing
1 parent 768cc4f commit 9f29bd2

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ generator/.vs/**
5656
**/*.partial.sln
5757
**/*.partial.FxCop
5858
**/*.partial.csproj
59+
60+
**/.DS_Store

public.snk

596 Bytes
Binary file not shown.

src/Amazon.Extensions.Configuration.SystemsManager/Amazon.Extensions.Configuration.SystemsManager.csproj

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@
2222
<CodeAnalysisRuleSet>../ruleset.xml</CodeAnalysisRuleSet>
2323
</PropertyGroup>
2424

25+
<Choose>
26+
<When Condition=" '$(AWSKeyFile)' == '' ">
27+
<PropertyGroup>
28+
<SignAssembly>true</SignAssembly>
29+
<AssemblyOriginatorKeyFile>..\..\public.snk</AssemblyOriginatorKeyFile>
30+
</PropertyGroup>
31+
</When>
32+
<Otherwise>
33+
<PropertyGroup>
34+
<SignAssembly>true</SignAssembly>
35+
<AssemblyOriginatorKeyFile>$(AWSKeyFile)</AssemblyOriginatorKeyFile>
36+
</PropertyGroup>
37+
</Otherwise>
38+
</Choose>
39+
2540
<ItemGroup>
2641
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.3.0.*" />
2742
<PackageReference Include="AWSSDK.SimpleSystemsManagement" Version="3.3.10.*" />

test/Amazon.Extensions.Configuration.SystemsManager.Tests/SystemsManagerExtensionsTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
using Amazon.Extensions.Configuration.SystemsManager;
1717
using Amazon.Extensions.NETCore.Setup;
1818
using Microsoft.Extensions.Configuration;
19-
using System;
2019
using Xunit;
2120

2221
namespace Amazon.Extensions.Configuration.SystemsManager.Tests

0 commit comments

Comments
 (0)