Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
So basically this is my first time using an external framework for a project. I really don't know how to get the link between the SharpPcap folder and my project file. The SharpPcap directory is in the same folder as my project directory. I have tried the using that the documentation shows but the link is not there and it will not accept it.

I really am clueless on how to do this.

What I have tried:

Ive tried as much as I can. Using the whole path to link it but that doesn't work and as much is in the documentation I have tried
Posted
Updated 9-Oct-20 21:39pm

1 solution

The simplest solution is to use Nuget, as SharpPcap is available there.
Open your solution in VS, and open your Project twig.
Right click "References" and select "Manage NuGet Packages..." from the pop-up menu.
In the resulting page, select the "Browse" tab at the top, then use the Search box: "SharpPcap" should do.
Highlight the package in the list (there will be two, depending on your framework), and press the "Install" button on the right.
It will check the required dependencies, and show you what it will do.
Press "OK"

All you need now is the usual using line(s) in each of your source files that use the project components.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900