Can't build the Windows 8 project template

I followed along the setup directions but when I try to build the solution I get this error:

Error 1 error MSB6006: “fxc.exe” exited with code 1. C:Files (x86).Cpp\v4.0\V110\Microsoft.CppCommon.targets 1129 5 HelloWorld

Has anyone encountered this? If so what do I need to do to resolve the issue?

Also is there any way to make it where I won’t have to edit the CreateProject.bat every single time I create a project?