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 ...@@ -18,6 +18,7 @@ namespace PcapDotNet.Core.Extensions
/// </summary> /// </summary>
/// <param name="livePacketDevice">The LivePacketDevice to look for a matching network interface for.</param> /// <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> /// <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) public static NetworkInterface GetNetworkInterface(this LivePacketDevice livePacketDevice)
{ {
if (livePacketDevice == null) if (livePacketDevice == null)
......
...@@ -285,10 +285,10 @@ ...@@ -285,10 +285,10 @@
<GenerateDebugInformation>true</GenerateDebugInformation> <GenerateDebugInformation>true</GenerateDebugInformation>
<TargetMachine>MachineX86</TargetMachine> <TargetMachine>MachineX86</TargetMachine>
<KeyFile>"$(SolutionDir)$(SolutionName).snk"</KeyFile> <KeyFile>"$(SolutionDir)$(SolutionName).snk"</KeyFile>
<DelaySign>true</DelaySign>
</Link> </Link>
<PostBuildEvent> <PostBuildEvent>
<Command> <Command>sn -Ra "$(TargetPath)" "$(SolutionDir)$(SolutionName).snk"</Command>
</Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <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