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.1>FXC : error X3501: 'main': entrypoint not found
1 reply to this topic
#1 Members - Reputation: 332
Posted 11 November 2012 - 01:39 PM
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
Ad:
#2 Moderators - Reputation: 5418
Posted 11 November 2012 - 09:38 PM
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.
Edited by MJP, 11 November 2012 - 09:39 PM.






