Commit 71a4f9e1 authored by Brickner_cp's avatar Brickner_cp

Sign PcapDotNet.core using a post-build event.

11 warnings left. 6 seem to be due to Microsoft bugs.
parent 9b9d4299
......@@ -18,6 +18,7 @@ namespace PcapDotNet.Core.Extensions
/// </summary>
/// <param name="livePacketDevice">The LivePacketDevice to look for a matching network interface for.</param>
/// <returns>The network interface found according to the given device or null if none is found.</returns>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public static NetworkInterface GetNetworkInterface(this LivePacketDevice livePacketDevice)
{
if (livePacketDevice == null)
......
......@@ -285,10 +285,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine>
<KeyFile>"$(SolutionDir)$(SolutionName).snk"</KeyFile>
<DelaySign>true</DelaySign>
</Link>
<PostBuildEvent>
<Command>
</Command>
<Command>sn -Ra "$(TargetPath)" "$(SolutionDir)$(SolutionName).snk"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment