Game Development Community

Visual Studio 2012 - Can you use default XML schema for specific file extensions?

by Michael Schilling · in Torque 2D Beginner · 04/20/2013 (9:46 am) · 4 replies

I would like to use the TAML schema in Visual Studio by default for the TAML files that I open in it. Is there a way to do this? I have tried to put the TAML schema in the Visual Studio XML schema cache, but Visual Studio always seems to forget that it's there when I open up the cache dialog to select it. I have searched up and down the MSDN pages looking for an answer, but have found nothing. :(

About the author

I am a computer science student going to school at UND. I one day hope to work in the game industry, whether it be indie or commercial.

Recent Threads


#1
04/21/2013 (3:41 pm)
I assume TAML has a <?xml> tag?

If so, you might be able to select it and the properties window should then have a schemas option for the XML document.
#2
04/21/2013 (5:37 pm)
I do. I'm able to select the schema in the properties window and use it. Everything is working just fine, but I'm just curious is if I can tell Visual Studio, "When opening .taml files, look at this file location and use this schema."
#3
04/21/2013 (10:20 pm)
ah, am following now sorry...and not a clue unfortunately
#4
04/27/2014 (9:57 am)
Hi, I am also having the exact same problem. I can associate the .xsd to a taml file, and everything works, but if I close Visual Studio and reopen the same .taml everything is reset. Anyone have any ideas? Thanks!