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

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.

About Peter Kellner

Peter is a software professional specializing in mobile and web technologies. He has also been a Microsoft MVP for the past 7 years. To read more about Peter Kellner and his experience click here. For information about how Peter Kellner might be able to help you with your project click here.

Follow me:


Comments

  1. I use RestSharp as a client to access standard JSON type web services.

  2. sankar ganesh says:

    I have one doubt which one is best DLL or SOA(WCF,Web service), i am working one web application. please guide me.

Your Comments

*

Protected with IP Blacklist CloudIP Blacklist Cloud

Follow

Get every new post delivered to your Inbox

Join other followers: