Intsallation problem. Yes I have checked FAQ first too.

175 views
Skip to first unread message

blacks...@gmail.com

unread,
Apr 29, 2018, 4:14:03 AM4/29/18
to Pcap.Net Q&A
I've successfully installed WinPcap (Though, from safe-mode because in normal boot, It was giving me error saying that WinPcap was already installed (but it wasn't) and then giving another bunch of errors too.). I also have downloaded net wrapper's dlls, I added reference to them (these dlls are in my project folder, and after referencing are also in Debug folder (with the .exe file) ) I can see correct syntax highlighting in Visual Studio 2017 too, and intellisense and all. But on build it gives me this error: Could not load file or assembly 'PcapDotNet.Core'. But I still can use other PcapDotNet's Packets library.

I also have tried sharpPcap, and it seems to be working, but i will not calm down until I resolve PcapDotNet.Core issue.

Thanks in advance!

- Nick Kowalewski

...

Please help. (I really need to make that network spoofer once...)

Blackstorm

unread,
Apr 29, 2018, 12:44:58 PM4/29/18
to Pcap.Net Q&A
Forgot to mention, I have all 4 dlls referenced. PcapDotnerBase.dll, PcapDotNetCore.dll, PcapDotNet.Core.Extension.dll, PcapDOtNetPackets.dll. 

Photos: 


Boaz Brickner

unread,
May 5, 2018, 5:09:34 AM5/5/18
to Pcap.Net Q&A
As mentioned in the FAQ, please follow the Using Pcap.Net in your programs including installing the Microsoft Visual C++ Redistributable Packages.

Blackstorm

unread,
May 5, 2018, 2:19:44 PM5/5/18
to Pcap.Net Q&A
I could not install Microsoft Visual C++ Redistributable Packages (at least on windows 10) because every time i try installing them, i get a message saying that newer version (VIC 2017) is installed. And I wouldn't risk uninstalling them. 
But i solved my issue by continous uninstalling, reinstalling of winpcap and rebooting my pc for a day. Eventually it fixed itself. At least i thought it did. The reason was that i had NetCut installed before, which seems to be also using winpcap. it installed old libraries into syswow folder, and uninstalling old winpcap from windows uninstall programs didnt actually remove it. I had to remove old libraries by myself and then install a new version. Thanks anyways!
Reply all
Reply to author
Forward
0 new messages