c# - visual studio setup project caching compilation symbols -


i'm have c# visual studio 2010 project uses [conditional("debug")] above of logging code don't want used in release build. when build release configuration in project , step through code, missed expected.

my setup project uses output exe file though , when rebuilt msi, debugging code still being printed out. occurred till deleted exe output setup project re-added it. contrary expected wandering if other people have experienced this?

try this:

#if debug ... #endif 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -