不要编译调试代码 [英] Dont compile debug code

查看:55
本文介绍了不要编译调试代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果## DEBUG语句中的Visual Studio不包含代码,如何设置?当我反编译exe时,有调试代码....

How to set that visual studio do not include code if it is in #if DEBUG statment? When i decompile exe there is debug code....

推荐答案

在发布模式下编译解决方案:

Compile your solution in release mode:

Project-> Properties-> Debug-> Configuration-> Release

Project->Properties->Debug->Configuration->Release

请记住通过将所有有用的帖子标记为答案来关闭话题,如果您有新问题,请重新开始话题.

Please remember to close your threads by marking all helpful posts as answer and then start a new thread if you have a new question.


这篇关于不要编译调试代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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