Conditionally compiling entire namespaces - C#
Posted
by Filip K
on Stack Overflow
See other posts from Stack Overflow
or by Filip K
Published on 2010-04-07T03:42:44Z
Indexed on
2010/04/07
3:53 UTC
Read the original article
Hit count: 262
Hi there,
I was wondering if there is a way to conditionally compile entire namespaces in C#. Or am I left with having to explicitly decorate each source file within the namespace with the preprocessor directives to exclude it? In sub-versions of my application the code in various namespace is simply not required and I would like it excluded.
Thanks in advance!
© Stack Overflow or respective owner