+If using Visual Studio 2019, make sure you have the .NET desktop development pack installed. Then open the liblsl.sln file. If you are asked to upgrade then go ahead. In the solution explorer, right click on the `liblsl` target and choose `Add > Existing Item ...`. In the explorer window, change the `Add` dropdown button to `Add as Link` and change the file types/extensions to "all files (*.*)". Browse to where you have lsl.dll ([download from here](https://github.com/sccn/liblsl/releases)) and select it. Click on the lsl.dll entry now in the solution explorer to view its properties. Set "Build Action" to "Content" and "Copy to output directory" to "Copy if newer". Whenever a target in the solution is built, the dll will be copied into the build directory.
0 commit comments