由网友(不需要敷衍)分享简介:有没有办法使用的Debug.WriteLine 在一个发布版本没有定义 DEBUG ?Is there a way to use Debug.WriteLine in a release build without defining DEBUG?推荐答案没有,但是你可以使用跟踪的定义发布跟踪和使用 Trace.W...
有没有办法使用的Debug.WriteLine
在一个发布版本没有定义 DEBUG
?
Is there a way to use Debug.WriteLine
in a release build without defining DEBUG
?
推荐答案
没有,但是你可以使用跟踪
的定义发布跟踪
和使用 Trace.WriteLine
看一看这里:
No, but you can use the Trace
in release by defining TRACE
and using Trace.WriteLine.
Have a look here:
http://support.microsoft.com/kb/815788
相关推荐
最新文章