Possible Duplicate:
XAML Conditional Compilation
In C#, I can do the following in the code.
#if COMPILING_AS_WINDOWS_PHONE_7
//some random code
#else
//some random code
#endif
This allows me to have several projects that compile differently by using the compiler arguments of the projects. In other words, I don't have to reinvent the wheel every time.
However, how can I do this with XAML? I can't seem to find anything anywhere about this online.