Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:27:55+00:00 2026-06-04T06:27:55+00:00

What would be the best practice to share busines logic c# code between MonoTouch

  • 0

What would be the best practice to share busines logic c# code between MonoTouch and Mono For Android projects?

Edited:
Initially, my question was about the physical file sharing:

  1. What do you propose to use: network file sharing or some code
    version control (git, svn)? In my case I am using two workstations –
    Mac (MonoDevelop with MonoTouch) and PC (Visual Studio with
    MonoDroid).
  2. What about Solution/Project folder structure? In
    “Blog Post: Xamarin Mobile World Congress 2012 Unofficial
    Conference App Released!
    ” example structure is quite confusing:
    several solutions in one folder and then different platform projects in one
    subfolder with different folder and project names. It can not be accomplished nativly
    with IDE. Are they editing content of solution files and folder names manualy
    outside of IDE environment?
  3. And for projects of common code what kind of profile (template) to
    use? Monotouch has several: Empty Project, MonoTouch Library
    Project and MonoTouch Binding Projects? In Android i supose –
    Android class library?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:27:57+00:00Added an answer on June 4, 2026 at 6:27 am

    This is a very general question, but here are a few resources that may help you get started:

    1. Video: Cross-platform Mobile Development
    2. Blog Post: Shared Libraries For Windows Phone 7, MonoDroid and Beyond
    3. Book: Mobile Development with C#
    4. Blog Post: Xamarin Mobile World Congress 2012 Unofficial Conference App Released!

    Edit (to answer your new questions)

    1. The idea behind linking files across projects is that there is only one actual copy of the file, rather than having to manage multiple copies and keep them in sync yourself. The file will actually exist in just one project and be linked into the others, but when the projects are compiled it treats the file as if it were actually there.

    2. I can’t speak to exactly how they created their folder structure, but I know there have been many cases where I would manually edit project or solution files to get the folder structure I want, because there was no way to get what I wanted through the IDE alone. This really boils down to personal preference on how you want your folders to be structured.

    3. In the end, what you need is a class library project for every platform you want to target. When going with the linked file approach, it’s totally up to you where you put the physical files. One approach I use often is to actually create a standard .NET 4.0 class library, put the files in there, and then link them into my Mono for Android and MonoTouch class libraries. If all you care about is targeting iOS and Android, that may be more trouble than it’s worth, and you can just let the files live in one project and link them into the other.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if people would share their best practices / strategies on handling
What would be best practice to localize your ASP.NET MVC application? I would like
What would be best practice for allowing the user to store data for my
Hey all, what would be best practice for clipping the bottom borders of a
What would be the best practice for sharing localization object (in this case ResourceBundle,
Would it be considered best practice to use a single template that changes it's
What's the best practice of making a variable that would be accessible by almost
Which is the best practice in this situation? I would like an un-initialized array
I am trying to find the best practice for sharing a lock file between
Just want to get some advice on what is the best practice to share

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.