Game Development Community

TX2D 4.0 CEV - Schema will not compile

by Will O-Reagan · in Torque X 2D · 04/01/2013 (10:41 am) · 0 replies


Build: TX4.0 CEV

Platform: Windows 7

Target: Visual Studio

Issues: When compiling the application, I get an error when the schema tries to compile. Basically, can't compile


Steps to Repeat:
1. Begin a TX 4.0 project
2. Put an XNA sound "CUE" in your public properties note: XML IGNORE attribute doesn't help here.
3. Try to compile
4. You'll get an error saying it won't work, and you won't know which line is causing it. Luckily, I still had a small project and had compiled recently, so was able to narrow it down fairly quickly.

Suggested Fix: DO NOT put sound CUES in the public properties region of your TX components!

About the author

I have a degree in dramatic art, and literature, from UC Santa Barbara. I've worked for a few studios, also at Animax Ent in 2008, and some smaller studios. Currently studying Computer Science at CSU Channel Islands.