visual studio wont recognise shader

hi

Visual studio wont recognise my shader a .fx file even though its in the same folder where my header files and c++ files are. I've even checked the name (for spelling) and there was nothing wrong. But the final problem I have is that I dont know how to make visual studio recognise its inclusion to my project.

I mean beyond an inclusion via the "add existing file" feature (which is how i have it in my project), but still it remains stubborn and keeps displaying the "failed to load shader, see if its in the right directory" message.
how can none c++ files like shaders be added into a project?
You can add any file to your project and you can configure vc to do something with that file (which is not easy) but normally it does nothing with that file.

What do you expect that happens (during build process)?
spelling error was the issue
Topic archived. No new replies allowed.