Home › Forums › Software Development › using the sdk in a dll library › Reply To: using the sdk in a dll library
If you are using the EyeX SDK for .NET you add references to the EyeX dll’s in your project like this:
– add a reference to EyeXFramework.dll (right click the project’s Reference folder and select “Add Reference…”)
– make sure to have a copy of Tobii.EyeX.Client.dll in your output folder
If you are only building for one bitness (32 bit or 64 bit), one way to make sure the client dll is copied to the output folder is to add it to the project and set its properties to copy to the output folder. This is how you do that: copy the client dll to the project folder and then right click the project in Visual Studio and add the dll as an “Existing item…”. If you want to use the client dll from more than one project you can instead save the dll in a common place and add it as a link to each project: choose “Add” > “Existing item…”, locate and select the dll file, press the little arrow next to the Add button and select the “Add as link” option. When the dll has been added to the project, right click the dll item and open its Properties and set “Copy to Output directory” to one of the “Copy…” options.