Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Project template for cross-platform library? (September 2017 edition)

$
0
0

@Alphish wrote:

Hello there,

I've been playing around with MonoGame for a few days, but I've worked with C# for much longer. One thing I'd like to do is make a cross-platform library that I could share across all platform-specific specific MonoGame projects. I've been searching for answers on that, but many results were pretty old and don't take into account new projects.

Generally, the minimum would be a project that would allow me to share various structures and elementary logic across projects. Ability to use common MonoGame classes such as Game (from MonoGame.Portable, maybe?) would be a bonus. If some classes would not be available, I guess I could work it around with interfaces and/or generics where needed, and supply implementations in platform-specific libraries?

I have installed MonoGame 3.6, and use it with Visual Studio Community 2017. I also installed the mobile development workflow, with all its Xamarin-related dependencies.

So far, to me, the most viable candidates seem to be Class Library (Legacy Portable) and Class Library (.NET Standard). I can't find any other project template that seems "cross-platform," but maybe I'm missing something.

Which options would you recommend? Thank you in advance. ^^

Posts: 5

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles