Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Created library as digitally signed as its required to be installed i… #81

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
Binary file added src/KafkaNET.Library/Dynamic.snk
Binary file not shown.
6 changes: 3 additions & 3 deletions src/KafkaNET.Library/KafkaNET.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>Dynamic.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -367,6 +366,7 @@
<Compile Include="ZooKeeperAwareKafkaClientBase.cs" />
</ItemGroup>
<ItemGroup>
<None Include="Dynamic.snk" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
11 changes: 7 additions & 4 deletions src/KafkaNET.Library/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@
// Build Number
// Revision
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]


[assembly: InternalsVisibleTo("Kafka.Client.Tests")]
// [assembly: CLSCompliant(true)]
[assembly: InternalsVisibleTo("Kafka.Client.Tests,PublicKey=" +
"0024000004800000940000000602000000240000525341310004000001000100d78f26db782675" +
"d869d8d069aa2bd226a42af16b5bed2a8aea23feefe75053a815fbe10469f6c65e4a760dd329fc" +
"7e806c69bfbd8a2c134f6938311421ab24dfac111da9fe9c89772220d5b88cf88093b7ecc09e4e" +
"db75cb1ac3515e3a8e56bc1bf3eafedd2796b4cac4d942c0260f68f52a55a109e5470cf68f604e" +
"7a5d2799")]
2 changes: 1 addition & 1 deletion src/KafkaNET.Library/Utils/Crc32Hasher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static byte[] Compute(byte[] bytes)
return hash;
}

internal static uint ComputeCrcUint32(byte[] bytes, int offset, int count)
public static uint ComputeCrcUint32(byte[] bytes, int offset, int count)
{
var hasher = new Crc32Hasher();
return ~CalculateHash(InitializeTable(DefaultPolynomial), DefaultSeed, bytes, offset, count);
Expand Down
Binary file added src/KafkaNET.Library/public.pk
Binary file not shown.
2 changes: 1 addition & 1 deletion src/KafkaNETLibraryAndConsole.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KafkaNETLibraryConsole", "KafkaNETLibraryConsole\KafkaNETLibraryConsole.csproj", "{14A62688-3146-49D5-8774-D6E178D53E16}"
EndProject
Expand Down