Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859'

APM Rounds 21 Reputation points
2025-01-16T12:03:26.72+00:00

Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859'

Tried multiple options added in .rd,xml, but no luck. example

1.

<Type Name="Microsoft.Extensions.Caching.Memory.MemoryCacheOptions" Dynamic="Required All" />

2.

<Type Name="Xamarin.Forms.Platform.UWP.WindowsPlatformServices" Serialize="Required All" />

<Type Name="Xamarin.Forms.Platform.UWP.Platform" Serialize="Required All" Dynamic="Required All">

<MethodInstantiation Name="OnPageAlert" Arguments="System.Object" Dynamic="Required" />

</Type>

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,375 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.