Shader compile errors (and all console errors) are echoed to the Visual C++ IDE. Click on the shader error in the IDE output window and it will bring up the shader file and line that is bad.