How do I Package a DLL in the Binaries\Win64 Directory?

I have a project linking against a custom library and I was wondering what the proper process of integrating this with both the build and packaging process is. I followed the tutorial at:

but I always need to end up copying my DLL to the Binaries\Win64 before building so I can run from Visual Studio or when building a package to deploy and run elsewhere, otherwise I get a DLL missing error. Any suggestions on how to fix this through the build process or a separate config file or manifest?


Thank you for your report. We were not able to investigate this on the engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of the Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes. If you are still experiencing the issue you reported in the current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, could you please submit a new report for it.


Hello,I still have this problem.I used my plugin which contains a thirdparty dll.
Before I packaged my project,it worked well.However, it cannot copy into the BUILD Directory,so it failed to load it.

Hello, Iā€™m currently stuck on the same issue. I have to manually ensure that the DLL is in the right spot.