Where can I define Conditional compilation constants for Delphi Prism?
Posted
by Martijn
on Stack Overflow
See other posts from Stack Overflow
or by Martijn
Published on 2009-02-03T14:16:11Z
Indexed on
2010/06/12
6:13 UTC
Read the original article
Hit count: 331
I've just ported a Web service from Delphi.NET 2006 to Delphi Prism 2009 (running in the Visual Studio 2008 IDE). But I can't find where I'm supposed to set (or unset) the conditional compilation constants!
Am I blind, has this option been left out, or is it just not supported in VS?
[edit: thanks to Mohammed Nasman for the link] MSDN tells me to set them using the Project Designer. First, it took me a while to figure out that the Project menu is only visible when the Solution is selected (and not the web service project). Then, there's still no way to set conditional compilation constants in the Project Designer!
I just can't find a way to get to the Project Options in an ASP.NET project... Is it really not possible?
© Stack Overflow or respective owner