It is possible to create a constant like this:
http://haacked.com/archive/2007/09/16/conditional-compilation-constants-and-asp.net.aspx
<%@ Page CompilerOptions="/d:QUUX" %>
How to create multiple constants ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is equivalent to the
Csc.exe /define:(orvbc.exeif you’re using VB, I don’t discriminate!)The
/d:is just short for/define:in either case.To add multiple constants, just slap a comma in there: