Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
@@ -1,7 +1,7 @@
NPlus1DaysOfMvvmCross
=====================

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

- indexed by Aboo at http://mvvmcross.blogspot.com/
- blog posts on http://slodge.blogspot.co.uk/search/label/NP1%20days%20of%20MvvmCross
Expand All @@ -13,14 +13,14 @@ Repos from the video series for N+1 days of MvvmCross

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](http://blog.xamarin.com/microsoft-and-xamarin-partner-globally/).

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`".
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 he 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`.
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.
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`".
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!