Brian
Brian

Reputation: 951

Common library for monodroid and desktop applications

I am currently starting a project which I would like to develop both a Android and desktop app for using mono for android. I would like to encapsulate the common logic into a shared library but at the moment I am unsure of how to accomidate both frameworks.

Thanks!

Upvotes: 1

Views: 237

Answers (2)

Greg Shackles
Greg Shackles

Reputation: 10139

You'll want to create separate class library projects for each platform, and then share the source files across them. This question has a lot of links and details about how to go about doing that.

Upvotes: 0

You must create projects using the "Android Class Library" project template because the mscorlib supported by monodroid(v2.0.5.0) is lower then the MSFX2.0 (v2.0.50727)

Upvotes: 1

Related Questions