In Windows Phone XNA 4.0, I am receiving the following error when compiling: the windows phone platform does not support custom shaders.
This is really annoying, because I have an Xbox 360 version of the project, and a Windows version of the project as well.
I tried using the compilation based #if !WINDOWS_PHONE
and #endif
, but with no luck. It seems as if it ignores this.
How can I make this file be excluded or ignored when compiled in the Windows Phone project?