我知道这个问题已经被问过很多次了,但是在 VS2015 中有些不同。
I 单击我的项目,选择添加现有的并添加我的 DLL。
然后我右键单击 DLL 并进入“属性”,但我只能看到 3 个属性:
从构建中排除
内容
项目类型
关于 Stack overflow 的其他问题用
回答了这个问题Use Project + Add Existing Item and select the DLL. Select the added file in the Solution Explorer window. In the Properties window, change the Copy to Output Directory setting to "Copy if newer".
参见:Are there any better ways to copy a native dll to the bin folder?
但是在我的 VS2015 中,我没有Copy to Output Directory
的选项
这是为什么?缺什么? 我尝试将 DLL 放在源文件和资源文件下,但我似乎无法在引用下调整它的速度,因为它只能让我选择另一个项目。
最佳答案
关于c++ - 使用 Visual Studio 2015、C++ 项目的 DLL 没有 "Copy to Output Directory",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45492404/