Skip to content

Commit d84983b

Browse files
Strong-name sign all assemblies
1 parent 4813b4a commit d84983b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

assets/exceldna.snk

596 Bytes
Binary file not shown.

sample/SampleAddIn/SampleAddIn.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<Deterministic>true</Deterministic>
15-
<NuGetPackageImportStamp>
16-
</NuGetPackageImportStamp>
15+
<SignAssembly>true</SignAssembly>
16+
<AssemblyOriginatorKeyFile>..\..\assets\exceldna.snk</AssemblyOriginatorKeyFile>
1717
</PropertyGroup>
1818
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1919
<DebugSymbols>true</DebugSymbols>
@@ -79,4 +79,4 @@
7979
</PropertyGroup>
8080
<Error Condition="!Exists('..\..\packages\ExcelDna.AddIn.1.1.0-beta1\build\ExcelDna.AddIn.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\ExcelDna.AddIn.1.1.0-beta1\build\ExcelDna.AddIn.targets'))" />
8181
</Target>
82-
</Project>
82+
</Project>

src/Serilog.Enrichers.ExcelDna/Serilog.Enrichers.ExcelDna.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<FileAlignment>512</FileAlignment>
1414
<Deterministic>true</Deterministic>
1515
<TargetFrameworkProfile />
16+
<SignAssembly>true</SignAssembly>
17+
<AssemblyOriginatorKeyFile>..\..\assets\exceldna.snk</AssemblyOriginatorKeyFile>
1618
</PropertyGroup>
1719
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1820
<DebugSymbols>true</DebugSymbols>
@@ -61,4 +63,4 @@
6163
</None>
6264
</ItemGroup>
6365
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
64-
</Project>
66+
</Project>

0 commit comments

Comments
 (0)