1>FXC : error X3501: 'main': entrypoint not found[/quote] why would it even ask me that,and since my shaders are compiled at run-time,why would FXC even activate during build time.How do I turn it off,I don't wanna keep removing/adding files to the project each time I build,just so this error wouldn't appear.
How do I turn off FXC in Visual Studio 2012
I have some shaders that are unfinished and I'm not using them anywhere in the program,but they're part of the project and Visual Studio gives me a
It's asking you because VS 2012 has a MSBuild step for .hlsl files that compiles them with the shader compiler. If you right-click on the shader file in your project and go to the properties, you can exclude the file from the build process.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement