M
martin
Hi,
I am having a little trouble defining compiler constants and picking then up
in my code.
In the configuration manger I defined the constant "Martin"
I then set the Project Configuration to "Martin" in the configuration
manager.
however the following code does not pick up the fact that my project has the
compiler constant "Martin" set
#If Martin Then
response.Write("Compiled for martin.")
#Else
Response.Write("NOT COMPILED FOR MARTIN")
#End If
Additionally when I type "#IF" the intellisense pops up three compiler
constants "DEBUG","CONFIG" and "TRACE" however niether "RELEASE" or "MARTIN"
is there, should I be seeing my compiler constant in this list??
many thanks in advance.
cheers
martin
I am having a little trouble defining compiler constants and picking then up
in my code.
In the configuration manger I defined the constant "Martin"
I then set the Project Configuration to "Martin" in the configuration
manager.
however the following code does not pick up the fact that my project has the
compiler constant "Martin" set
#If Martin Then
response.Write("Compiled for martin.")
#Else
Response.Write("NOT COMPILED FOR MARTIN")
#End If
Additionally when I type "#IF" the intellisense pops up three compiler
constants "DEBUG","CONFIG" and "TRACE" however niether "RELEASE" or "MARTIN"
is there, should I be seeing my compiler constant in this list??
many thanks in advance.
cheers
martin