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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -