I have a C # project (call Driver on it) that uses an unmanaged DLL to interact with some hardware. I have another project that references Driver. When I create a project, the unmanaged DLL is copied to the output directory as I want. However, when I publish the project as a ClickOnce application, the DLL is not included in the application files.
In Application Files
in the project properties in the Publish
section, I can see a managed DLL with drivers, but an unmanaged DLL is not specified.
I am sure that there is an easy solution for this, but searches mostly lead to questions about including unmanaged DLLs in projects.
Thanks in advance,
Bjorn
source share