Error compiling FxDemo.xaml

Sep 28, 2009 at 8:13 AM

Hi,

I have downloaded the zip file of Perspective FX which contains all the dependency files, and was following the tutorial to create the effect library, by running the command line FxGeneratorCmd FxDemo.xaml under command prompt

However, there was 1 error in compiling. The error was MSBUILD : error MSB4062, and it said something like (sorry, my interface is in Japanese), the "ShaderBuildTask.PixelShaderCompile" task was unable to read assembly ShaderBuildTask. Or unable to read the dependency file. Can't locate file. And whether is the definition for <UsingTask> correct.

Because of the error, in the source folder, there are only .cs and .fx file... no .ps file. And also no FxDemo.Effects.dll under the bin folder.

I wonder can someone shed some light on what am I missing here?

Thank you very much. 

Coordinator
Oct 24, 2009 at 6:19 PM

Hi,

Sorry for the delay...

Did you install previously the Shader Effects BuildTask and Templates of the WPF Futures project ? It is required.