Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strong-named all assemblies. #292

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Addition file-based store for CacheCow HTTP-caching library</Summary>
<AssemblyName>CacheCow.Client.FileStore</AssemblyName>
<PackageId>CacheCow.Client.FileStore</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\CacheCow.Client\CacheCow.Client.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<AssemblyName>CacheCow.Client.NatsKeyValueStore</AssemblyName>
<PackageId>CacheCow.Client.NatsKeyValueStore</PackageId>
<LangVersion>10.0</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NATS.Client" Version="1.0.3" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Redis Storage for HTTP Client Caching</Summary>
<AssemblyName>CacheCow.Client.RedisCacheStore</AssemblyName>
<PackageId>CacheCow.Client.RedisCacheStore</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
4 changes: 2 additions & 2 deletions src/CacheCow.Client/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using System.Runtime.CompilerServices;
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("CacheCow.Client.Tests")]
[assembly: InternalsVisibleTo("CacheCow.Client.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100e56aad7a2d4a1d0ac9e7d669b97415eba84c5aaaa0891b3f0552b5b30b83c33faeaac9f7c2ffb6bd418aaf7fcd2cc840c6cbc8af8a0573f03feabd475a90ce12fd74fbf2f19228faf5a19c95db64d4de1c1b8a9aecaad85a642becb40064b41378da410935de6143bfddacd72e7d2cea84536931e1faafb1d9920df9521810e0")]
2 changes: 2 additions & 0 deletions src/CacheCow.Client/CacheCow.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Client constructs for HTTP Caching</Summary>
<AssemblyName>CacheCow.Client</AssemblyName>
<PackageId>CacheCow.Client</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Common\TraceWriter.cs" Link="TraceWriter.cs" />
Expand Down
2 changes: 2 additions & 0 deletions src/CacheCow.Common/CacheCow.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Common constructs for HTTP Caching</Summary>
<AssemblyName>CacheCow.Common</AssemblyName>
<PackageId>CacheCow.Common</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
2 changes: 2 additions & 0 deletions src/CacheCow.Server.Core.Mvc/CacheCow.Server.Core.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Server constructs for HTTP Caching in ASP.NET Core MVC</Summary>
<AssemblyName>CacheCow.Server.Core.Mvc</AssemblyName>
<PackageId>CacheCow.Server.Core.Mvc</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
Expand Down
2 changes: 2 additions & 0 deletions src/CacheCow.Server.WebApi/CacheCow.Server.WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Server constructs for HTTP Caching for Web API</Summary>
<AssemblyName>CacheCow.Server.WebApi</AssemblyName>
<PackageId>CacheCow.Server.WebApi</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Common\TraceWriter.cs" Link="TraceWriter.cs" />
Expand Down
2 changes: 2 additions & 0 deletions src/CacheCow.Server/CacheCow.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<Summary>Server constructs for HTTP Caching</Summary>
<AssemblyName>CacheCow.Server</AssemblyName>
<PackageId>CacheCow.Server</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Common\TraceWriter.cs" Link="TraceWriter.cs" />
Expand Down
4 changes: 2 additions & 2 deletions src/CacheCow.Server/CoreExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using Microsoft.AspNetCore.Http.Headers;
using Microsoft.Extensions.DependencyInjection;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("CacheCow.Server.Core.Mvc")]
[assembly: InternalsVisibleTo("CacheCow.Server.Core.Mvc, PublicKey=0024000004800000940000000602000000240000525341310004000001000100e56aad7a2d4a1d0ac9e7d669b97415eba84c5aaaa0891b3f0552b5b30b83c33faeaac9f7c2ffb6bd418aaf7fcd2cc840c6cbc8af8a0573f03feabd475a90ce12fd74fbf2f19228faf5a19c95db64d4de1c1b8a9aecaad85a642becb40064b41378da410935de6143bfddacd72e7d2cea84536931e1faafb1d9920df9521810e0")]

namespace CacheCow.Server
{
Expand Down Expand Up @@ -198,4 +198,4 @@ internal static T GetService<T>(this IServiceProvider provider)

}
}
#endif
#endif
Binary file added src/Common/keyPair.snk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;netcoreapp3.0</TargetFrameworks>
<IsPackable>false</IsPackable>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10.0</LangVersion>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<AssemblyName>CacheCow.Client.RedisCacheStore.Tests</AssemblyName>
<PackageId>CacheCow.Client.RedisCacheStore.Tests</PackageId>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp2.0|AnyCPU'">
<DocumentationFile />
Expand Down
2 changes: 2 additions & 0 deletions test/CacheCow.Client.Tests/CacheCow.Client.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<Summary>Client constructs for HTTP Caching</Summary>
<AssemblyName>CacheCow.Client.Tests</AssemblyName>
<PackageId>CacheCow.Client.Tests</PackageId>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Data\Request.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<ApplicationIcon />
<OutputType>Library</OutputType>
<StartupObject />
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<!--<FrameworkReference Include="Microsoft.AspNetCore.App" />-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<TargetFrameworks>net462</TargetFrameworks>
<Summary>Tests for Server constructs for HTTP Caching for Web API</Summary>
<AssemblyName>CacheCow.Server.WebApi.Tests</AssemblyName>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
4 changes: 3 additions & 1 deletion test/CacheCow.Tests/CacheCow.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<Summary>Client constructs for HTTP Caching</Summary>
<AssemblyName>CacheCow.Tests</AssemblyName>
<PackageId>CacheCow.Tests</PackageId>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\src\Common\keyPair.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Common\DummyMessageHandler.cs" Link="DummyMessageHandler.cs" />
Expand Down
Loading