This should be in the PCL's AssemblyInfo.cs
using Xamarin.Forms.XAML;
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
This will be in the code behind of the XAML page
using Xamarin.Forms.XAML
namespace NativeXamlCmd
{
[XamlCompilation(XamlCompilationOptions.Skip)]
public partial class NativeXamlCmdPage : ContentPage
{