释放具有调试模式dll的文件夹 [英] Release folder having debug mode dlls

查看:86
本文介绍了释放具有调试模式dll的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Visual Studio 2010中以发布模式构建解决方案时,调试模式dll也会复制到release bin文件夹中。我该怎么办才能在我的发布bin文件夹中找不到调试dll

When I build a solution in release mode in Visual Studio 2010 then the debug mode dlls are also copied to the release bin folder. What can I do so that I dont get the debug dlls in my release bin folder

推荐答案

没有发布模式或调试模式。这些只是不同的配置。您始终可以添加自己的配置。 Debug和Release只是名称,它们不必与调试或任何模式相关。



清理所有内容,重新构建。检查与文件,输出和中间目录相关的项目参数。使用宏引用
There are not "Release mode" or "Debug mode". Those are just different configurations. You can always add your own configurations. "Debug" and "Release" are just names, they don't have to be related to debugging or any "modes".

Clean up everything, build again. Check up the parameters of the project related to the files, output and intermediate directories. It's easy to keep files related to different configurations using the macro reference


(配置)可以很容易地保存与不同配置相关的文件。要了解它是如何工作的,请创建一个全新的项目并查看项目属性(和/或项目文件本身)。



-SA


先生,请检查它们是否作为参考文献添加到您的项目中。如果是这样,它将始终从源复制到Debug或Release文件夹。
sir, please check if they are added in to your project as References. If so, it will always copy from source to the "Debug" or "Release" folder.


这篇关于释放具有调试模式dll的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆