/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Today's #ScreenshotSaturday features Face Your Fears from Turtle Roc ... #virtualrealityshop #mobilevr #vrshop https://t.co/3qhSNAVNOZ
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

How do I turn off FXC in Visual Studio 2012

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 mrheisenberg   Members   

360
Like
0Likes
Like

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

1>FXC : error X3501: 'main': entrypoint not found

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.

#2 MJP   Moderators   

18926
Like
0Likes
Like

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.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.