I don't know if the is even remotely possible, but just now I have some code in my application that when I come to build/publish I would like Visual Studio to say "Hey this is fine locally but I won't let you publish until you change this!"
I know about conditional compiling i.e.
#IF CONFIG="Debug" THen
'do debug stuff
#ELSE
'do release stuff
#END IF
but what I would essentially like to do is essentially pick up the todo markup, so if I have
'todo remove this before publishing
Visual studio detects this and errors when building a release version.
Is this possible?
EDIT: I am using VB.NET