Re: conditional directives
Brady Kelly <[email protected]> Thu, 15 Mar 2007 15:15:07 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Organization | Chase Software |
| Message-ID | <[email protected]> |
Peter, The context of your query became somewhat clearer with the replies from the gentlemen mentioned. Yes, it is sometimes not quite intuitive or clear how your project properties relate to the directive variables. I think a default DEBUG would help quite a bit: Get unexpected results and check your settings, instead of having to hike through several menu options to support expected debug behaviour. > -----Original Message----- > From: Discussion relating to the specifics of the C# and Managed C++ > languages [mailto:[email protected]] On Behalf Of Peter > Osucha > Sent: 15 March 2007 14:56 PM > To: [email protected] > Subject: Re: [DOTNET-CX] conditional directives > > Brady, > > Yes, once it becomes clear why you are using them. The answers to my > question Dino and Bart gave have made this clearer to me. > > Peter > > -----Original Message----- > From: Discussion relating to the specifics of the C# and Managed C++ > languages [mailto:[email protected]] On Behalf Of Brady > Kelly > Sent: Thursday, March 15, 2007 8:30 AM > To: [email protected] > Subject: Re: [DOTNET-CX] conditional directives > > Peter Ouscha: > > > Anyway, I have a need with my current development to limit some > > functionality while running from the IDE. I figured I could use > > '#if..." to do such a conditional thing. But there are a few things I > > don't understand about doing this. If I have these #define IDE > commands > > all over my files, before a release build, I'd have to remove them, > > correct (which seems like a pain)? Is there a better way to > > conditionally skip some things while running from the IDE? > > Isn't that the point of these directives? You shouldn't have to remove > them > when you change the conditions they depend on. > > =================================== > This list is hosted by DevelopMentor. http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com