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
Post a Comment