Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to build on MacOS -> System.DllNotFoundException has been thrown wpcap #52

Closed
defcon8 opened this issue Jul 22, 2018 · 3 comments

Comments

@defcon8
Copy link

defcon8 commented Jul 22, 2018

Hi Guys,

I'm trying to run example 9 - sendpacket. But i'm getting stuck on:

System.DllNotFoundException has been thrown wpcap

So as far as i understand i need to do some kind of dynamic library mapping in a sharppcap .config file to define the location of libpcap? But i can't find any example on how to do this.

Can anybody please help me?

Thank you very much!
Bastiaan

screen shot 2018-07-22 at 21 43 26

@winkmichael
Copy link

Write SharpPcap.dll.config in the same directory as your runtime, with this;

@chmorgan
Copy link
Collaborator

chmorgan commented Oct 5, 2018

@defcon8 @winkmichael is correct. Check the examples and the source distribution, there should be an example sharppcap.dll.config file if there isn't one in the binary package.

@chmorgan chmorgan closed this as completed Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants