TLDR: Is there a way to create one solution with projects for Windows, Linux, and shared/common code?
I tried creating a MonoGame Linux solution using these instructions. Based on my past experience with 2.x, I created two projects:
CoreGame project with my
Game class and content-pipeline file (
- An application project (
App) that references the
CoreGame project (for Linux)
I can add assets, build, and run on Linux. I then tried opening my solution in Windows with VS2012. It failed, citing that the project types are incompatible with VS; both the
I wanted to create the
CoreGame and windows application projects in VS, but none of them matched what I see in Linux -- there's no shared project type. There's a
Windows project (which doesn't run IIRC, something about a missing DLL) and a
Linux project, but nothing like that on MonoDevelop in Linux.
Is there a way to create one solution with projects for Windows, Linux, and shared/common code? (libGDX does something similar where 99% of your code is in a shared lib, and you have per-platform projects that just build/wrap platform-specific stuff)