2
Vote

Unable To Compile with Visual Studio 2012

description

When I try to compile it with Visual Studio 2012 I get an error (it works fine with visual studio 2010):
Error 1 The "PixelShaderCompile" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at ShaderBuildTask.PixelShaderCompile.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__20.MoveNext() C:\Users\Francis\Desktop\WPFSLFx\WPF\ShaderEffectLibrary\WPFShaderEffectLibrary.csproj 150 5 WPFShaderEffectLibrary

Please let me know if you have a solution.

comments

ziebart60 wrote Jun 19, 2013 at 4:36 AM

I am having this problem as well. Would it be possible to post the binaries for download?

MrJul wrote Mar 7, 2014 at 8:40 PM

Installing DirectX End-User Runtimes solved this problem for me with VS2013.