Skip to content

Commit

Permalink
Merge pull request #24 from ChaosEngine/master
Browse files Browse the repository at this point in the history
Create strongly signed assembly
  • Loading branch information
ChaosEngine authored Apr 2, 2021
2 parents c5132e4 + ab04243 commit 0407393
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<Version>2.1.0</Version>
<Version>2.1.1</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Pomelo.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -22,7 +24,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" />
<PackageReference Include="MySqlConnector" Version="1.2.0" />
<PackageReference Include="MySqlConnector" Version="1.2.1" />
</ItemGroup>

</Project>
Binary file added src/Pomelo.Extensions.Caching.MySql/Pomelo.snk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b9ad0f06-39e4-4892-8691-2b01db5a1067")]
[assembly:InternalsVisibleTo("Pomelo.Extensions.Caching.MySql.Tests")]
///
/// https://docs.microsoft.com/en-us/dotnet/standard/assembly/create-signed-friend
///
[assembly:InternalsVisibleTo("Pomelo.Extensions.Caching.MySql.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002d40e2372e6f611238ace2bf7c80546c03a568c471495b6c91b89de694de5413b25ac77a005a371c46f15ab87f13d49ec7aa9bbd9fa99d8f51deb1d87c42d81047aa118519d9813bd5973e8cc8d17d8e5e5e865bce62518aa46e2348dac3db3638b00b9a8df69e1158e4ea82913b6a14c19c07fe473e7511ce91c1b7f41155cf")]
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />
<PackageReference Include="MySqlConnector" Version="1.2.0" />
<PackageReference Include="MySqlConnector" Version="1.2.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<Version>2.1.0</Version>
<Version>2.1.1</Version>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>Pomelo.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -26,7 +28,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
Expand All @@ -35,8 +37,8 @@
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.0" />
<PackageReference Include="Moq" Version="4.15.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Moq" Version="4.16.1" />
</ItemGroup>

</Project>
Binary file not shown.

0 comments on commit 0407393

Please sign in to comment.