I am recently unable to compile the UWP within the release configuration. I get the errors as below, which I read as being in relation to the xamarin.forms.element.
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : System.NotSupportedException: Cannot deserialize type 'Xamarin.Forms.Element' because it contains property 'RealParent' which has no public setter.
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.TypeDesc.CheckSupported()
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.TypeDesc.CheckSupported()
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.ReflectionAwareCodeGen.WriteReflectionInit(TypeScope scope)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.XmlSerializationWriterCodeGen.GenerateBegin()
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Hashtable assemblies, String outputDir, IEnumerable`1 referenceDirectories, String intermediateDir, Boolean loadAssembly)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.XmlSerializer.GenerateSerializer(Type[] types, XmlMapping[] mappings, CompilerParameters parameters, String outputDir, IEnumerable`1 referenceDirectories, String intermediateDir, Boolean loadAssembly)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at System.Xml.Serialization.XmlSerializer.GenerateSerializer(Type[] types, String outputDir, IEnumerable1 referenceDirectories, String intermediateDir, List
1 wcfSerializers, Boolean loadAssembly)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : at SerializationAssemblyGenerator.Program.Main(String[] args)
2>C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\microsoft.net.native.compiler\1.7.3\tools\Microsoft.NetNative.targets(697,5): error : ILT0032: Failed to compile serialization code. See the build log for error details.
Both the android and iOS counterparts can and have been distributed without problem.
I would appreciate any help at all as this has stopped us in our tracks to distribute to the windows store the latest build.