sharpdx_direct3d11_effects_x64.dll DLLNotFoundException [英] sharpdx_direct3d11_effects_x64.dll DLLNotFoundException
问题描述
部署使用
What's the correct procedure for deploying WinForms / WPF Applications which use SharpDX.Direct3D11.Effects v3 NuGet package?
They seem to depend on two unmanaged DLLs:
- sharpdx_direct3d11_effects_x64.dll
- sharpdx_direct3d11_effects_x86.dll
Should these be copied to the output directory? As a post build step or otherwise?
After we publish the WPF/WinForms applications from Visual Studio, it will generate an Application Files folder which contains .dll.deploy files.
I installed the SharpDX.Direct3D11.Effects package in my WPF application. And after I publish this application, I found the sharpdx_direct3d11_effects_x64.dll and sharpdx_direct3d11_effects_x86.dll will generate sharpdx_direct3d11_effects_x64.dll.deploy and sharpdx_direct3d11_effects_x86.dll.deploy files in Application Files folder. We need not to copy to them to output directory.
If the depend on DLLs are not include in your Application Files folder, please configure them through Project Properties -> Publish tab -> Application Files to set the Publish Status for these Dlls as Include.
这篇关于sharpdx_direct3d11_effects_x64.dll DLLNotFoundException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!