adabru / BleWinrtDll

BLE for Unity 3d in Windows without UWP.
Do What The F*ck You Want To Public License
168 stars 52 forks source link

Missing DLL after Build #42

Closed eproasim closed 1 year ago

eproasim commented 1 year ago

The readme mentions that this dll should work for a Windows Standalone build, but I have been unable to actually produce a working build of this project or my own which was was built with the existing BleApi.cs script. I am not terribly familiar with dll's in unity, and the available answers around the web are unclear to me. On each frame, I receive a DLLNotFoundException for BleWinrtDll.dll immediately at startup after building. This is not an issue when using the Unity editor. Could anyone shed light on what I'm doing wrong?

To be clear, this is only after building the application and using it on a different device. The standalone will work on the device that is is built on.

eproasim commented 1 year ago

Solved embarrassingly quickly after posting this. For anyone else that might have this problem. Please ensure that your application requires the latest Microsoft Visual C++ Redistributable to be installed.

adabru commented 1 year ago

Thank you eproasim 🙂, I added it to the readme.