when I deploy my project using publish process , all the users installing my application can see the content directory under publish directory.
I would prefer that the users never see my shaders.
Is there a way to not let the shaders visible in publish directory ?
I imagine that the shaders can be compiled in the project source , without saving them in content , but is there an other solution ?
You mean the .FX source file or the compiled .MGFXOBJ file?
Yes I speak about the real xxxxxxxxx.fx file but there is the xnb file too … Both in fact
See my screenshot
Readable Shader In Publish Directory