发布版本和调试版本之间有什么区别? [英] What is the difference between a release build and a debug build?
本文介绍了发布版本和调试版本之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
傻问题,但我在Release版本和一些代码的Debug版本上有所不同。如果我执行一个Release版本代码工作(!)如果我做一个Debug版本它不会。
我试过它完全相同的代码(只是改变Visual Studio中的位置)发布工作,调试没有。
任何人都可以了解原因吗?
格伦
Hi All,
Silly question but I have a difference in the Release build and the Debug build of some code. If I perform a Release build the code works(!) if I do a Debug build it doesn't.
I have tried it Exactly the same code (just change the location in Visual Studio) release works, debug does not.
Can anyone shed some light on why?
Glenn
推荐答案
仅回答从未答复列表中删除 - 由OP解决。
Answered only to remove from unanswered list - solved by OP.
发布版本创建最终的DLL或EXE,其中包含项目的所有版本信息和元数据,其中Debug构建仅包含调试模式Pdb和Metedata您无法将调试DLL导出到其他项目或在Windows中注册
Release build creates a final DLL or EXE with all version information and Metadata of your project where Debug build contains only Debug mode Pdb and Metedata you cannot export a Debug DLL to other projects or Register this in Windows
这篇关于发布版本和调试版本之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文