Step by Step installation guide

204 views
Skip to first unread message

lukaswi...@gmail.com

unread,
Jun 7, 2018, 5:44:03 AM6/7/18
to Pcap.Net Q&A
Hi, I read the User Guide and followed all the steps that were provided there to get started with Pcap.net.
I installed WinPcap and then the questions start. I think the User Guide provides much to less information about installing Pcap.net.
My questions:
1) Where shall I get the .dll files from that should be linked in the references? I downloaded the complete pcap.net project and found them there - is this correct?
2) Does the project folder from 1) has to be in the same directory like the .exe file that is generated from the code?
3) What does this error mean:
"System.BadImageFormatException
HResult=0x8007000B
Nachricht = Die Datei oder Assembly "PcapDotNet.Core, Version=1.0.4.25149, Culture=neutral, PublicKeyToken=06a20bc2fabb1931" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Quelle = <Die Ausnahmequelle kann nicht ausgewertet werden.>
Stapelüberwachung:
<Die Ausnahmestapelüberwachung kann nicht ausgewertet werden.>"


Boaz Brickner

unread,
Jun 24, 2018, 6:07:01 AM6/24/18
to Pcap.Net Q&A
1) What dlls are you missing?
2) I don't think you need to couple the output and the input directories.
3) My German is not so good. However, see question 6 in the FAQ.

lukaswi...@gmail.com

unread,
Jun 24, 2018, 8:12:21 AM6/24/18
to Pcap.Net Q&A
Well I solved the problem. The problem was Visual Studio. You have to unset the hook for "Prefer 32 Bit" in the project properties.
Reply all
Reply to author
Forward
0 new messages