I've got monogame working in VS 2013 but I can't get the content pipeline to work. When I try to import an existing Content pipeline Project I get the following error.
And I can't create a new project since the templates arent installed in 2013.
Since I am running windows 8 I cannot install XNA (installer stops saying it requires Win 7 or Vista). Reading here: https://github.com/mono/MonoGame/wiki/MonoGame-Content-Processing It seems XNA is required..?
EDIT
Fex answer gets the templates installed in VS 2013 and I can create a new MonoGame windows Project. But I still cant create or open content projects as they crash with this error
MonoGame has a special Pipeline Editor to make it super easy to work with game assets. Double-click the Content.mgcb file to open the Pipeline Editor. Next, add the asset files you just downloaded as seen below:
Once it's open, simply search for MonoGame in the top right search window, as shown above, and install the "MonoGame project templates". You now have the MonoGame templates installed, ready to create new projects. MGCB Editor is a tool for editing .mgcb files, which are used for building content.
Before installing Monogame, you'll need to install Visual Studio 2019 or later (any edition, including Community) with the following components, depending on your target platform: .NET cross-platform development - For Desktop OpenGL and DirectX platforms
This guide will walk you through building a starter game with MonoGame using Windows and Visual Studio 2019. Start Visual Studio and select New Project... in the upper left corner. You should see the "Create a new project" dialog pop up.
Not sure will it work on your pc - in my case it worked.
EDIT: edited script - try this edited script, be sure you have XNAGS40_setup in same folder and that you run it with administrator priviliages
You can use the content pipeline of SharpDX.
You put your content in the Content folder of the SharpDX solution. Build that solution and then you move the .xnb files generated to the content folder of your MonoGame project.
You could also just use a post buid event to copy the files for you.
You actually can install XNA Game Studio 4.0 Refresh on Windows 8 and 8.1. The issue is that the GFWL it tries to install won't work. So obtain a usable Distributable package, such as from a GFWL game (I believe MS also offers a standalone package), install that, THEN install XNAGS4 Refresh.
CORRECTION: I failed to mention that this does not actually install the necessary project/solution/filetypes into VS2012. See the next section for useful solutions. ADDITIONAL INFO: At the renamed XNA CodePlex page (http://mxa.codeplex.com), there are downloads for versions of Visual Studio beyond 2010 (10.0). These downloads are ZIP files that include installers for each separate package that XNA4 installs, ending with the VS extension package installer for the relevant version of Visual Studio. In addition, MonoGame at this point (two years later) no longer requires any XNA elements to load and compile in Visual Studio or Xamarin Studio/MonoDevelop. The tools that MonoGame uses to replace XNA Content Projects can also import them for conversion to MonoGame Content Projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With