Game Development Community

Visual Studio 08 / C# Express 2008

by Joshua A. Thomas · in Torque X 2D · 12/14/2008 (6:26 pm) · 4 replies

Hi all, I'm back.

Does anyone have the project and item templates for TorqueX 2.0 working with C# Express 2008 and/or Visual Studio 2008?

#1
12/15/2008 (6:36 am)
I don't, though I'm not surprised since I installed XNA GSE 3.0 *after* installing TorqueX.

I can still upgrade existing TorqueX projects and use them in VS2008, though. Not sure how I'd install the item templates, but I'm sure it's possible.
#2
12/15/2008 (4:43 pm)
All the templates are packaged in a .zip file that VS2005 stored somewhere around here:

C:\Program Files\Microsoft Visual Studio 8.0\Common7\IDE\VCSExpress\ProjectTemplates
C:\Program Files\Microsoft Visual Studio 8.\Common7\IDE\VCSExpress\ItemTemplates

Move these files over to the "9.0" folder for VS2008. This should make them appear in VS2008 (but they will still be VS2005 templates that prompt you to upgrade the solution).

Not sure if this will actually work, but that's where you can find the templates.

John K.
#3
12/16/2008 (10:09 am)
Hey John, thanks. I don't have c#2005 express installed, but I found the templates Torque installed at C:\VS2005DIR.

I'm working on a new 2D game template. Since there are a few errors (duplicate file prompts) using the current one, even though they do compile and run.
#4
12/16/2008 (10:19 am)
Just beware... making you own templates is a pain with XNA since the Visual Studio File + Export Template command doesn't fully work. It doesn't include XNA's Content sub-project. You need to first export your main project, then open the .csproj as if it were its own project/solution and then export that to a template too, then merge the results together by hand. It's a little messy, but do-able.

John K.