-
Notifications
You must be signed in to change notification settings - Fork 5
MonoGame Content Processing
MonoGame like Microsoft XNA depends game content being processed at build time to an optimal format for runtime use. Since at this time MonoGame does not have an independent implementation of the XNA content pipeline we depend on Microsoft's implementation on Windows to build content for non-Microsoft platforms.
In Microsoft XNA the game project controls the execution of content building. For MonoGame we follow the same rule with work arounds for non-Windows platforms.
but for non-Windows If you're targeting MonoGame for Windows or Windows 8 you can
On these platforms the recommended solution is to use a dummy XNA project which executes the content build process. Like
You should use a standard Microsoft XNA Content Project for MonoGame content.
In the content project you need to add a reference to the 'MonoGame.ContentPipeline.Processors' assembly which contains all the platform specific content processors. You then select the correct MonoGame version of the XNA content processors you're already using.
Note these processors will fall thru to normal XNA behavior if you're not building for MonoGame, so its safe to use them in your Xbox or Windows Phone projects as well.