Code Monkey home page Code Monkey logo

nplus1daysofmvvmcross's Introduction

NPlus1DaysOfMvvmCross

Repos from the video series for N+1 days of MvvmCross

READ THIS - Following Along and Coding With the N+1 Videos?

Make sure you read the stuff below about how to create a new PCL in 2014+.

The first 43 videos in the N+1 series (N=0 through N=42) were recorded before the Portable Class Library (PCL) approach was officially completed and released by Xamarin as part of their Microsoft partnership.

Before that time, Stuart would always select ".NET Framework 4.5, Silverlight 4 and higher, Windows Phone 7.5 and higher, .NET for Windows Store apps, and his manually created Mono for Android and MonoTouch" options when he was creating a new PCL in the videos. These selections resulted in what is known by Microsoft as "PCL Profile 104".

The great news is that PCL support has been officially released by Xamarin and cross-platform PCL goodness without manually linking tons of files or using workarounds is now a reality! We now know which "PCL profiles" are supported by Xamarin and the PCL creation dialog has official options of Xamarin.Android and Xamarin.iOS after you install the Xamarin tools (no manual XML hacks, etc. are needed anymore to get these non-MS platform options in the PCL dialog box).

Unfortunately, PCL Profile 104 (which was used in the first 43 videos) is NOT supported out-of-the-box by Xamarin (for various reasons). PCL Profile 158 is supported however, and it is very similar to profile 104. This PCL profile change basically drops support for Silverlight 4 and Windows Phone 7.5). MvvmCross released its 3.1.n versions, and updated the code in this N+1 repository, to switch everything to the Xamarin-supported PCL Profile 158.

If you are following along and coding with the first 43 videos in 2014+, you are likely installing MvvmCross version 3.1.n or later from NuGet. This means that you should create your PCLs in a slightly different way to make sure they result in PCL Profile 158 instead of the profile 104 ones that you seen in the first 43 videos.

To create a new PCL that results in the supported Profile 158, you now select the ".NET Framework 4.5, Silverlight 5, Windows Phone 8, .NET for Windows Store apps, Xamarin.Android, and Xamarin.iOS options when you create your PCL. These selections result in what is known by Microsoft as "PCL Profile 158".

Enjoy the new seamless cross-platform code-sharing experience!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.