Setting Up Monogame

Started by
2 comments, last by Jan2go 9 years, 8 months ago

A while ago i started using unity, and with unity came monodevelop. Now i am starting using MonoGame in the monodevelop editor. So i downloaded the monodevelop monogame file. and triet to "install add-in from file".

I got the following error:

The selected add-ins can't be installed becaouse there are dependency conflicts.

The package 'Core v3.0' could not be found in any repository

The package 'Ide v3.0' could not be found in any repository

The following packages will be installed:

MonoGame Project Templates v3.0.1(in user directory)

The following dependencies could not be resolved:

Core v3.0

Ide v3.0

I tried installing a non unity version of monodevelop, but got the error (something like)

You need gtx# version 2.1.x.x.x.x.x (forgot).

Thanks

Advertisement
I had nothing but pain trying to get monogame up and limping. So much so that I gave up and moved to marmalade for a multiplatform toolset. You'll have to code in C++ or lua though.

Which operating system is this?

Don't use a Unity version of MonoDevelop, as that is terribly out of date.

Instead, use the Xamarin Studio installer, which installs MonoDevelop with all necessary dependencies, such as gtk#. You can then install MonoGame through NuGet (right-click your project, select Add -> Add Packages, and search for "monogame").

Alternatively, MonoGame is trivial to build from github:


git clone https://github.com/mono/MonoGame
cd MonoGame
git submodule init
git submodule update
Protobuild.Exe
msbuild MonoGame.Framework.Windows.sln /p:Configuration=Release

On Linux / Mac OS X, simply replace the last two lines by:


mono Protobuild.exe
xbuild MonoGame.Framework.Linux.sln /p:Configuration=Release # linux
xbuild MonoGame.Framework.MacOS.sln /p:Configuration=Release # macos

The resulting MonoGame.Framework.dll is placed under bin/Windows/Release - simply add it in your project references.

Edit: fixed link.

[OpenTK: C# OpenGL 4.4, OpenGL ES 3.0 and OpenAL 1.1. Now with Linux/KMS support!]

I got the following error:

The selected add-ins can't be installed becaouse there are dependency conflicts.
The package 'Core v3.0' could not be found in any repository
The package 'Ide v3.0' could not be found in any repository

The following packages will be installed:

MonoGame Project Templates v3.0.1(in user directory)

The following dependencies could not be resolved:

Core v3.0
Ide v3.0


The plugin requires MonoDevelop 3. I ran into the same problem on my Ubuntu system where I was able to solve the problem by using the MonoGame plugin that is intended for Xamarin Studio.

This topic is closed to new replies.

Advertisement