Skip to content

Commit d8b4d4d

Browse files
ScottGuymersanych-sun
authored andcommitted
Strong Naming (#10)
Added signing keys
1 parent 6cbb58a commit d8b4d4d

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

Prometheus.Client.MetricServer.sln

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26228.4
@@ -9,18 +9,19 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Prometheus.Client.MetricSer
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{465CE32E-016E-46A1-9636-3411CB742385}"
1111
EndProject
12-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Prometheus.Client.MetricServer.NetCore.Tests", "tests\Prometheus.Client.MetricServer.NetCore.Tests\Prometheus.Client.MetricServer.NetCore.Tests.csproj", "{7DC9CABA-8C8B-4ADD-BF3F-D67BB580027A}"
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Prometheus.Client.MetricServer.NetCore.Tests", "tests\Prometheus.Client.MetricServer.NetCore.Tests\Prometheus.Client.MetricServer.NetCore.Tests.csproj", "{7DC9CABA-8C8B-4ADD-BF3F-D67BB580027A}"
1313
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7ADF00AE-7F6D-4C7E-B0F0-B2A19627DDF8}"
15-
ProjectSection(SolutionItems) = preProject
16-
.gitattributes = .gitattributes
17-
.gitignore = .gitignore
18-
appveyor.yml = appveyor.yml
19-
LICENSE = LICENSE
20-
README.md = README.md
21-
pack.ps1 = pack.ps1
22-
.editorconfig = .editorconfig
23-
EndProjectSection
15+
ProjectSection(SolutionItems) = preProject
16+
.editorconfig = .editorconfig
17+
.gitattributes = .gitattributes
18+
.gitignore = .gitignore
19+
appveyor.yml = appveyor.yml
20+
LICENSE = LICENSE
21+
pack.ps1 = pack.ps1
22+
Prometheus.Client.MetricServer.snk = Prometheus.Client.MetricServer.snk
23+
README.md = README.md
24+
EndProjectSection
2425
EndProject
2526
Global
2627
GlobalSection(SolutionConfigurationPlatforms) = preSolution

Prometheus.Client.MetricServer.snk

596 Bytes
Binary file not shown.

src/Prometheus.Client.MetricServer/Prometheus.Client.MetricServer.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Description>MetricServer for the Prometheus.Client</Description>
44
<Copyright>2019 © Sergey Kuznetsov</Copyright>
@@ -17,6 +17,8 @@
1717
<PackageReleaseNotes>https://github.com/PrometheusClientNet/Prometheus.Client.MetricServer/releases</PackageReleaseNotes>
1818
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1919
<GenerateDocumentationFile>true</GenerateDocumentationFile>
20+
<SignAssembly>true</SignAssembly>
21+
<AssemblyOriginatorKeyFile>../../Prometheus.Client.MetricServer.snk</AssemblyOriginatorKeyFile>
2022
</PropertyGroup>
2123
<ItemGroup>
2224
<PackageReference Include="Prometheus.Client" Version="3.0.0-rc2" />

tests/Prometheus.Client.MetricServer.NetCore.Tests/Prometheus.Client.MetricServer.NetCore.Tests.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netcoreapp2.0</TargetFramework>
44
<IsPackable>false</IsPackable>
5+
<SignAssembly>true</SignAssembly>
6+
<AssemblyOriginatorKeyFile>../../Prometheus.Client.MetricServer.snk</AssemblyOriginatorKeyFile>
57
</PropertyGroup>
68
<ItemGroup>
79
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />

0 commit comments

Comments
 (0)