XNA UK User Group

A helping hand for bedroom coders throughout the land.
in

Upcoming Events

Read our Events forum for details of upcoming events. Meet real people!

zip Visual Studio 2008 Xna Windows Game Project Template

Downloads: 9,392 File Size: 17.3kB
Posted By: leaf Views: 5,880
Date Added: 08-09-2007

A project template for Xna Windows games that allows some basic content building in VS2008. Put it in your project template directory (Documents\Visual Studio 2008\Templates\ProjectTemplates\Visual C#) and it should then be available as a new template when creating a project.

Note: Xna doesn't yet support VS2008, to get the full experience you should be using VC# Express, but because the content pipeline runs as a MSBuild task and all the Visual Studio products use MSBuild to build managed projects it is possible to have your content builds running in any edition of Visual Studio. What you don't get is the IDE plugins that the Xna team have developed that allow you to pick importers, processors and add custom content pipeline assemblies.

In the project template I hard coded a selection of build actions for the most common asset types (sprite textures, models, fonts and effect files) but you can't build anything else without editing the project file source. This works fine for the quick tests and playing around that I wanted to do in VS2008 but isn't anywhere near as good as using a Visual Studio product that the Xna team support (like VC# Express).

To build content you should add the content to your project and then select the appropriate Build Action in the file's properties window (see the yellow highlight in the following picture).

 

Filed under: ,

Comments

No comments exist for this file.

Add Comment

(required) 
(required)
(optional)
(required) 
Add