Note: I suspect my problem is related to this one: Visual Studio 2010 Publish Web feature not including all DLLs.
My app has some references that are wrappers for non-.NET libraries. These wrappers need the original DLL to be in the same directory as them and the executable.
The problem comes when publishing. Following the advice I found scattered around SO, I included these DLLs as resources, set "Copy to outcome directory" to "Copy always" and played around with "Build Action".
So far the closest I've come is to set "Build Action" to "Content". As in, this seems to be the only way to actually copy files when publishing, without embedding them or compiling them. The problem is, the files are automatically moved to a folder called "Resources".
Does anyone know how to do this?