[MonoDevelop] Exclude files or references depending on Configuration

Cyrille Colin colin at univ-metz.fr
Sun Nov 15 12:21:47 EST 2009


Hi all,
is there a way to exclude/include files or references for a project
depending on a configuration ?
for example if i would like to use mysql or postgres, I define
configuration : mysql and postgres with some compilation define symbol.
I used "#if def", it works but compilation needs booth reference. Also
in asp.net case i would like to exclude pages instead of apply a #if def
to an entire file.
Is that possible ? is it the good way to do this?
thanks in advance,
Cyrille.





More information about the Monodevelop-list mailing list