如何强制DLL使用Release配置? [英] How do I force DLLs to use Release configuration?

查看:106
本文介绍了如何强制DLL使用Release配置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,伙计们这可能是一个愚蠢的问题,但我一直在这里敲我的头约2小时没有任何运气。好吧,我的问题是,当我在调试模式下构建我的应用程序时,一切正常,但当我切换到发布模式进行构建时,灵魂将无法完成。事实证明,当我切换配置时,某些内部项目引用不会切换到bin\Release文件夹。如何使它使用正确的DLL。



先谢谢你们。

解决方案

转到Project - >属性和检查发布配置中的设置与调试配置相同。


Hey guys this might be a stupid question but I have been banging my head here for about 2 hrs without any luck. Ok my problem is that when I build my application in Debug mode it all works just fine but when I switch to Release mode to do a build the soultion won't complie. It turns out that some of the internal project references don't switch to the bin\Release folder when I switch configurations. How do I make it use the correct DLL's.

Thanks in advance guys.

解决方案

Go to Project -> Properties and check the settings in your Release configuration are setup the same as the Debug one.


这篇关于如何强制DLL使用Release配置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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