I KNOW I did this in WP7 (not WP7.1) and I can't figure out what I did.
I'm using this Effect Library
I'm using this Effect Build Task and Template
So basically I opened my WP7 csproj file in notepad add added the following lines:
Under Project Root
<UsingTask TaskName="ShaderBuildTask.PixelShaderCompile" AssemblyName="ShaderBuildTask, Version=1.0.3072.18169, Culture=neutral, PublicKeyToken=44e467d1687af125" />
<Target Name="EffectCompile" Condition="'@(Effect)' != '' ">
<PixelShaderCompile Sources="@(Effect)">
<Output TaskParameter="Outputs" ItemName="Resource" />
</PixelShaderCompile>
</Target>
<PropertyGroup>
<PrepareResourcesDependsOn>EffectCompile;$(PrepareResourcesDependsOn)</PrepareResourcesDependsOn>
</PropertyGroup>
And System.Windows.Media.Effects does not contain
ShaderEffect
PixelShader
If anyone knows what I'm doing wrong or has a WP7 template for this that would be awesome. Thanks. I DO NOT was to use the XNA shaders.