Browse Source
Merge pull request #1130 from SixLabors/af/sn
Strong name all projects in the repository
pull/1140/head
Anton Firszov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
27 additions and
11 deletions
-
Directory.Build.props
-
src/Directory.Build.props
-
tests/ImageSharp.Benchmarks/ImageSharp.Benchmarks.csproj
-
tests/ImageSharp.Tests/AssemblyInfo.cs
-
tests/ImageSharp.Tests/ImageSharp.Tests.csproj
|
|
|
@ -95,8 +95,9 @@ |
|
|
|
<!-- Contains RemoteExecutor. Taken from: https://github.com/dotnet/runtime/blob/master/NuGet.config --> |
|
|
|
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json; |
|
|
|
</RestoreSources> |
|
|
|
<SixLaborsPublicKey>002400000c8000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey> |
|
|
|
<SixLaborsPublicKey>00240000048000009400000006020000002400005253413100040000010001000147e6fe6766715eec6cfed61f1e7dcdbf69748a3e355c67e9d8dfd953acab1d5e012ba34b23308166fdc61ee1d0390d5f36d814a6091dd4b5ed9eda5a26afced924c683b4bfb4b3d64b0586a57eff9f02b1f84e3cb0ddd518bd1697f2c84dcbb97eb8bb5c7801be12112ed0ec86db934b0e9a5171e6bb1384b6d2f7d54dfa97</SixLaborsPublicKey> |
|
|
|
<UseSharedCompilation>true</UseSharedCompilation> |
|
|
|
<SignAssembly>true</SignAssembly> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<!-- Package references and additional files which are consumed by all projects --> |
|
|
|
|
|
|
|
@ -27,11 +27,11 @@ |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<!-- DynamicProxyGenAssembly2 is needed so Moq can use our internals --> |
|
|
|
<InternalsVisibleTo Include="DynamicProxyGenAssembly2" PublicKey="0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7" /> |
|
|
|
<InternalsVisibleTo Include="DynamicProxyGenAssembly2, PublicKeyToken=null" /> |
|
|
|
<InternalsVisibleTo Include="ImageSharp.Benchmarks" /> |
|
|
|
<InternalsVisibleTo Include="SixLabors.ImageSharp.Sandbox46" /> |
|
|
|
<InternalsVisibleTo Include="SixLabors.ImageSharp.Tests" /> |
|
|
|
<InternalsVisibleTo Include="ImageSharp.Benchmarks" PublicKey="$(SixLaborsPublicKey)" /> |
|
|
|
<InternalsVisibleTo Include="ImageSharp.Tests.ProfilingSandbox" PublicKey="$(SixLaborsPublicKey)" /> |
|
|
|
<InternalsVisibleTo Include="SixLabors.ImageSharp.Tests" PublicKey="$(SixLaborsPublicKey)" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -9,6 +9,9 @@ |
|
|
|
<GenerateProgramFile>false</GenerateProgramFile> |
|
|
|
<!--Used to hide test project from dotnet test--> |
|
|
|
<IsTestProject>false</IsTestProject> |
|
|
|
|
|
|
|
<!-- Uncomment this to run benchmarks depending on Colorful or Pfim (colorspaces and TGA): --> |
|
|
|
<!--<SignAssembly>false</SignAssembly>--> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
@ -25,4 +28,21 @@ |
|
|
|
<PackageReference Include="System.Drawing.Common" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<!-- Exclude benchmarks using internals, in case of unsigned benchmark execution: --> |
|
|
|
<ItemGroup Condition="'$(SignAssembly)' == 'false'"> |
|
|
|
<Compile Remove="Codecs\Jpeg\BlockOperations\**" /> |
|
|
|
<Compile Remove="Codecs\Jpeg\DoubleBufferedStreams.cs" /> |
|
|
|
<Compile Remove="Codecs\Jpeg\YCbCrColorConversion.cs" /> |
|
|
|
<Compile Remove="Codecs\Jpeg\DecodeJpegParseStreamOnly.cs" /> |
|
|
|
<Compile Remove="Color\Bulk\**" /> |
|
|
|
<Compile Remove="Color\RgbToYCbCr.cs" /> |
|
|
|
<Compile Remove="Color\YCbCrToRgb.cs" /> |
|
|
|
<Compile Remove="General\Vectorization\**" /> |
|
|
|
<Compile Remove="General\PixelConversion\**" /> |
|
|
|
<Compile Remove="General\BasicMath\ModuloPowerOfTwoConstant.cs" /> |
|
|
|
<Compile Remove="General\BasicMath\ModuloPowerOfTwoVariable.cs" /> |
|
|
|
<Compile Remove="PixelBlenders\**" /> |
|
|
|
<Compile Remove="Samplers\Resize.cs" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -1,6 +0,0 @@ |
|
|
|
// Copyright (c) Six Labors and contributors.
|
|
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
|
|
|
|
using System.Runtime.CompilerServices; |
|
|
|
|
|
|
|
[assembly:InternalsVisibleTo("ImageSharp.Tests.ProfilingSandbox")] |
|
|
|
@ -14,6 +14,7 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<DotNetCliToolReference Include="dotnet-xunit" /> |
|
|
|
<InternalsVisibleTo Include="ImageSharp.Tests.ProfilingSandbox" PublicKey="$(SixLaborsPublicKey)" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|