Skip to content

Commit b4b9e48

Browse files
authored
Sign Assembly with a Strong Name (#37)
Sign the assembly with a strong name.
1 parent 3d2d972 commit b4b9e48

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Gee.External.Capstone/Gee.External.Capstone.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
55

6-
<Version>2.2.0</Version>
6+
<Version>2.3.0</Version>
77
<Authors>Ahmed Garhy (@9ee1)</Authors>
88
<Title>Capstone.NET</Title>
99
<Description>Capstone.NET is a .NET Core and a .NET Framework binding for the Capstone disassembly framework. It is written in C#, supports Capstone 4, and has a friendly and simple type safe API that is ridiculously easy to learn and quick to pick up.</Description>
@@ -18,6 +18,11 @@
1818
<NoWarn>1591</NoWarn>
1919
</PropertyGroup>
2020

21+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
22+
<AssemblyOriginatorKeyFile>$(MSBuildProjectDirectory)\..\strong-name.snk</AssemblyOriginatorKeyFile>
23+
<SignAssembly>True</SignAssembly>
24+
</PropertyGroup>
25+
2126
<ItemGroup>
2227
<Content CopyToOutputDirectory="PreserveNewest" Include="runtimes/*/native/*" Pack="true" PackagePath="runtimes" />
2328
</ItemGroup>

strong-name.snk

596 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)