Johan,
I imagine you would have to do this yourself. Basically, you can define
constants on the "Build" page of the "Properties" page for the project.
Under the "General" section, you can enter any conditional compilation
symbols you wish.
You can also place these symbols in your code, using the #define
directive.
You can also use the #if, #else, #elif, #endif directives to declare
sections of code that the compiler will use only if certain constants are
defined.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Sagaert Johan" <RE*************@hotmail.comwrote in message
news:OD**************@TK2MSFTNGP04.phx.gbl...
Hi
Is there a constant i could use to force conditional compilation based on
whether i compile for CF or the Full NET framework ?
Johan