gpt4 book ai didi

c# - SharpDX v4.0.1 sharpdx_direct3d11_effects_x64.dll DLLNotFoundException

转载 作者:太空宇宙 更新时间:2023-11-03 22:53:15 26 4
gpt4 key购买 nike

去年,我问了这个问题 how to solve a DllNotFoundException for sharpdx_direct3d11_effects_x64.dll使用 SharpDX.Direct3D11.Effects.dll 版本 3

现在我正在尝试用版本 4 做同样的事情。

我原本希望将两个 DLL sharpdx_direct3d11_effects_x64.dll 和 sharpdx_direct3d11_effects_x32.dll 添加到 Visual Studio 项目中,但事实并非如此。

enter image description here

这两个DLL的部署机制有变化吗?

最佳答案

Has the deployment mechanism for these two DLLs changed?

是的,这个包 xoofx 的作者从版本 4.0.0-ci120 改变了这两个 DLL 的部署机制。您可以查看 4.0.0 release notes关于Updated D3D11.Effects to the new project system. .

另外,你可以下载这个包的两个版本,用NuGet Package Explorer检查不同。 :

enter image description here

根据官方文档:Supporting multiple .NET framework versions :

If you have architecture-specific assemblies, that is, separate assemblies that target ARM, x86, and x64, you must place them in a folder named runtimes within sub-folders named {platform}-{architecture}\lib{framework} or {platform}-{architecture}\native.

所以部署机制的改变是正确的。

关于c# - SharpDX v4.0.1 sharpdx_direct3d11_effects_x64.dll DLLNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46549637/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com