Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/268.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 错误代码:XamlC错误XFC0000:无法解析类型";MediaElement“;_C#_Xaml_Xamarin_Xamarin.forms - Fatal编程技术网

C# 错误代码:XamlC错误XFC0000:无法解析类型";MediaElement“;

C# 错误代码:XamlC错误XFC0000:无法解析类型";MediaElement“;,c#,xaml,xamarin,xamarin.forms,C#,Xaml,Xamarin,Xamarin.forms,我刚刚更新到Xamarin Forms 5,似乎无法修复此错误,在此之前我的应用程序完全正常,没有错误,现在我更新了此错误,我的所有依赖项上都有一个黄色警告符号,任何帮助都将不胜感激。MediaElement已移动到package()。在xaml命名空间下: xmlns:xct="http://xamarin.com/schemas/2020/toolkit" <xct:MediaElement ... xmlns:xct=”http://xamarin.com/sc

我刚刚更新到Xamarin Forms 5,似乎无法修复此错误,在此之前我的应用程序完全正常,没有错误,现在我更新了此错误,我的所有依赖项上都有一个黄色警告符号,任何帮助都将不胜感激。

MediaElement
已移动到package()。在xaml命名空间下:

xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
<xct:MediaElement ...
xmlns:xct=”http://xamarin.com/schemas/2020/toolkit"

欢迎来到堆栈溢出。请避免包含代码或错误消息的屏幕截图。您应该包括错误消息本身。看看这里,更好地阐述你的问题。如果它回答了你的问题,请让我知道,否则你可能会给我留下反馈/评论。