Question #if debug what is it now

MikeFellows

New member
Joined
Jun 1, 2010
Messages
2
Programming Experience
10+
Ive been using VS2008 for ages now and just been upgrading some of my projects to vs2010. However I have encountered a problem I cant seem to solve and google has failed me :(

I regularly use

#if Debug = True Then

me.button1.visible = true

#Else

me.button1.visible = false

#End If

my problem is that debug never now appears to be true (even when debugging), its the same with new projects too, so ive ruled out a conversion issue.

is there a new syntax?

Thanks
 
Back
Top