Skip to content

Commit

Permalink
Merge pull request #49 from danipen/strong-name-assemblies
Browse files Browse the repository at this point in the history
Sign assemblies with strong names
  • Loading branch information
danipen authored Apr 26, 2023
2 parents 5228d0d + 4097de6 commit 7066e69
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\TextMateSharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/TextMateSharp.Grammars/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("TextMateSharp.Tests")]
[assembly: InternalsVisibleTo("TextMateSharp.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001000db16f8de24159e7ee94e32addce2a9b60f3ea5be200ae7b5abbf8676705064a1b5a5a44d570a884bd86bd2d3e83411fb88914e00028bc7d4b5be1ba8fd8db4335e3ad911d0ef7e694cf433f3314e991100c72c7473641a9e3437deeab402c8f4a03fdf9c174cbae00142a28ce43475ca61f0016ede73dc778b5ed5a0344cfc2")]
2 changes: 2 additions & 0 deletions src/TextMateSharp.Grammars/TextMateSharp.Grammars.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<Company />
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\TextMateSharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/TextMateSharp.Tests/TextMateSharp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>False</IsPackable>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\TextMateSharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/TextMateSharp.Wasm/TextMateSharp.Wasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<Authors>Daniel Peñalba</Authors>
<Company />
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\TextMateSharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Binary file added src/TextMateSharp.snk
Binary file not shown.
2 changes: 1 addition & 1 deletion src/TextMateSharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("TextMateSharp.Tests")]
[assembly: InternalsVisibleTo("TextMateSharp.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001000db16f8de24159e7ee94e32addce2a9b60f3ea5be200ae7b5abbf8676705064a1b5a5a44d570a884bd86bd2d3e83411fb88914e00028bc7d4b5be1ba8fd8db4335e3ad911d0ef7e694cf433f3314e991100c72c7473641a9e3437deeab402c8f4a03fdf9c174cbae00142a28ce43475ca61f0016ede73dc778b5ed5a0344cfc2")]
2 changes: 2 additions & 0 deletions src/TextMateSharp/TextMateSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ TextMateSharp uses a wrapper around Oniguruma regex engine. Read below to learn
<Authors>Daniel Peñalba</Authors>
<Company />
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\TextMateSharp.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7066e69

Please sign in to comment.