在构建后,如何更改DLL依赖依赖的位置?
我是使用Visual Studio和C ++创建应用程序的新手,并且正在从事我的第一个项目。我找不到关于我要寻找的内容的任何答案,但是也许我没有看到我应该拥有的东西 - 当构建项目解决方案并创建为EXE中时,它在同一目录中具有依赖的DLL。是否有任何特定方法可以改变该目录内部的子文件夹(即$(solutiondir)发行/依赖项,而不是$(solutionDir)发行)中的子文件夹中出现。提前致谢。
I am new to creating applications with Visual Studio and C++, and I am working on my first project. I couldn't find any answers on exactly what I was looking for, but maybe I didn't see something I should have - when a project solution has been built, and created into an exe, it has dependent DLLs in that same directory. Is there any specific way to change this to make the dependent DLLs appear in a subfolder inside that directory (ie. $(SolutionDir)Releases/Dependencies instead of $(SolutionDir)Releases)? Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在项目属性中更改
输出目录
。例如:You can change the
Output Directory
in project properties. For example: