Skip to content

Building .Net Libraries For Both Xamarin’s MonoDevelop and Visual Studio 2012

Updated: at 02:12 PM

I’ve recently been experimenting doing native development with Xamarin’s MonoTouch.  The idea is that I can leverage the C# code I’ve written for other projects as well as my knowledge of C# and the .Net framework to develop native IOS (IPhone and IPad) applications.  To begin, I need some core data access layers and have decided to use SqlLite and a standard access layer wrapping.  I plan on doing more posts on this, but for now, I thought I would post what I have found since it has taken me quite a while to figure out just the basics.

So, in list format, here are my findings

  1. Create Class Library Projects Only (csproj) and always create the with Visual Studio (not MonoDevelop)
  2. Use .net 4.0 as base
  3. Using VMWare on the MAC, create the projects on a VMWare share (Z:\…)
  4. Create a simple console project for testing on MonoDevelop
  5. Create a unit test project for testing on Visual Studio
  6. Choose “preserve line endings” when prompted in MonoDevelop
  7. Solution Files to not share, just csproj files

Just some tips here.  More to come.

Check out the ORM (Object Relational Mapper) PRISMA. The database access method I use in all my projects