0
点赞
收藏
分享

微信扫一扫

Xamarin.Forms.Xaml.XamlParseException: No embeddedresource found for

奔跑的酆 2022-09-14 阅读 85


问题来源

Xamarin.Forms 从 2.5 更新到 3.0 之后就遇到这个错误了

Xamarin.Forms 2.5 – project build success

Update Xamarin.forms version from 2.5 to 3.0 then build again, – project build failed with error:

Xamarin.Forms.Xaml.XamlParseException: No embeddedresource found for

解决方案

在 Xamarin.Forms 中所有的 Page.xaml.cs 加入下面这句代码:

[XamlCompilation(XamlCompilationOptions.Compile)] 


举报

相关推荐

0 条评论