Problem building MonoGame source

Hi Guys,

I’m trying to build the MonoGame 3.4 source in Visual Studio 2015, but I’m having problems adding the missing references. There are missing dlls for components such as CppNet. I have been trying to download these from the dependencies page: https://github.com/MonoGame/MonoGame.Dependencies. However I am unable to add the resulting dlls to the references in the solution. For each one I try, Visual Studio claims that it is not a valid assembly.

It looks like I might be trying to add the wrong dlls. Can anyone tell me where I can get all the required dependencies to build the framework?

Many thanks,

Damien

I’ve resolved the issue. For anyone experiencing the same issue, this is what I did:

Downloading and Successfully Compiling MonoGame Source

  1. Download Tortoise SVN from https://tortoisesvn.net/
  2. Create a new folder called MonoGame Source (you can call it anything you like)
  3. Browse to the MonoGame source repository https://github.com/mono/MonoGame and copy in https://github.com/mono/MonoGame.git
  4. Right click in the Explorer window where you created the MonoGame Source directory and selected SVN checkout by right-clicking in my explorer directory and selecting that option.
  5. In the window that appears, enter https://github.com/mono/MonoGame.git into the URL for the repository.
  6. Click on OK and wait a while whilst it downloads the entire source (around 300MB) - takes a few minutes.
  7. Download GitHub for desktop https://desktop.github.com/
  8. Run the installer and just skip all the signin steps - ensure it installs the command line tools
  9. Open your MonoGame source directory and open the sub trunk folder
  10. Double-click on ProtoBuild.exe. In my case it told me my cache was corrupted so sent a few minutes rebuilding it.
  11. Open Visual Studio 2015 and browse to the newly created MonoGame.Framework.Windows.sln (or whatever platform you wish to open)
  12. Try building the project, with any luck it should compile without issue.

Hope this helps people anyone with the same issues as me compiling the source winder Windows,

Cheers,

Damien

1 Like

@endangermice - Done… also raised your posting privileges.

I don’t think many people have used the SVN path with GitHub, so this is good info.

A bit late, but: http://www.monogame.net/documentation/?page=Setting_Up_MonoGame_Source

Thanks Tom - I have very little experience with GitHub, my background is with SourceSafe and later Team Foundation Server, part and parcel of being a Microsoft Development house, I think this will probably help complete Git novices like me.

Cra0zy, thanks for your link, I have to admit I didn’t find this when I was searching for an answer but this might just be a case of my poor search skills!

Cheers guys,

Damien