In this tutorial, we will be created a shared project
Let’s learn how to set up shared MonoGame projects in Visual Studio!
Creating a shared project in Visual Studio
Creating a shared project in Visual Studio
Adding a platform-specific project
Adding a platform-specific project
Here you can see that the Game1.cs file is no longer under the BrainBouncer.Desktop project; it’s now in the shared project.
Here you can see that the Game1.cs file is no longer under the BrainBouncer.Desktop project, and it’s now in the shared project
Here I added a reference to the shared project in my desktop project
Here I added a reference to the shared project in my desktop project
Here’s where I found the projitems file on my computer
Here’s where I found the projitems file on my computer
How to toggle showing file extensions in a folder
How to toggle showing file extensions in a folder
Changing the ProjItems file.
Changing the ProjItems file.
  1. Monkey Tap Tutorial: https://devblogs.microsoft.com/xamarin/build-your-first-game-with-monogame-getting-started/
  2. RB Whitaker’s content management tutorial: http://rbwhitaker.wikidot.com/monogame-managing-content
  3. Matt Justice on MonoGame and shared projects: https://blog.mattjustice.com/2016/05/31/monogame-and-shared-projects/
  4. Setting up a shared project via command line: https://github.com/harry-cpp/MonoGame/blob/newprojdocs/Documentation/setting_up_project/setting_up_project.md

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudy Heaven Games

Cloudy Heaven Games

3 Followers

I am an independent game developer and computer science tutor. https://cloudyheavengames.itch.io/ Twitter: @cloudyheavengms