Search code examples
c#xnashaderfxaa

Can I use ".fxh" file extensions in XNA?


In my code I have run into a problem where my program can not auto-detect which importer to use for a file I included in my content pipeline. How do I enable XNA to import .fxh files in my game?


Solution

  • Set the file's build action to None. This will prevent it from going through the Content Pipeline, but your #include directives should still work just fine.