   [.net] Finding shaders at compile time
  I have a shaders directory for my project with some shaders and a Composer FX project file.  My project doesn't have a lot of assets beyond shaders (it's all vector graphics), so I'd like have the shaders embedded in the final binary.  So what I want to do is take those shaders and extract their text at compile time into some strings I can access in code.This is in C#.  If this were C++, I'd try to hack something involving #include.  Is there a C# way to get what I want?   
  Add as a resource?   ;  I haven't played with resources/XNA assets at all, so I don't know if they'll work like I want them to, or how to use them.In the end, I just want it so that there's just a single binary to distribute.  The file extension on the shader is .FX, if that matters at all.   ;  Embedded resource should work fine as long as there is an overload in the method to load fx that takes a stream.Place your fx files into a folder (eg. "Fx") and add the folder to your project. Set the properties of each file so the "Build Action" is "Embedded Resource" and read them like so:System.Reflection.Assembly myAssembly = System.Reflection.Assembly.GetExecutingAssembly();Stream myStream = myAssembly.GetManifestResourceStream("MyProject.Fx.MyEffect.fx");   ;  Ah thank you, that seems to work :)   