Welcome to MSDN Blogs Sign in | Join | Help

Building XNA content without using C# Express

Way back in November I blogged about how to use MSBuild to run your own content build, bypassing the C# Express user interface.

I only recently noticed the XCB project on Codeplex, which does exactly that and provides a nice looking user interface for setting up your assets, adding pipeline assemblies, choosing importers and processors and so on.

Comes with source code, too, so you can see how they did it...

Published Tuesday, January 23, 2007 1:33 PM by ShawnHargreaves

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Wednesday, February 07, 2007 6:13 AM by DrDeth

# re: Building XNA content without using C# Express

I was just wondering how to get content into a windows app when I happened across your blog - very cool! - but in neither of your posts do you mention how you'd actually use the compiled content, or is it just a matter of dropping the xcb files into the same folder as the exe?

Wednesday, February 07, 2007 12:32 PM by ShawnHargreaves

# re: Building XNA content without using C# Express

Exactly. The build process will create XNB files in whatever directory you tell it the output is, and then your game can use ContentManager.Load to read them from there, just like it normally would. This doesn't necessarily even have to be the same place where your executable lives, because you can point the ContentManager at any directory you like when you construct it.

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker