博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Xamarin.Forms.Xaml.XamlParseException: No embeddedresource found for
阅读量:4286 次
发布时间:2019-05-27

本文共 389 字,大约阅读时间需要 1 分钟。

问题来源

把 Xamarin Forms 项目中的 Xamarin.Forms nuget package从 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)]

转载地址:http://ghpgi.baihongyu.com/

你可能感兴趣的文章
error: pathspec '测试2' did not match any file(s) known to git.
查看>>
昵称中含有特殊符号存入mysql数据库处理
查看>>
mybatis中模糊查询时一个字段匹配不定量数据解决方法
查看>>
nginx配置https后重新启动
查看>>
linux环境下安装nginx步骤
查看>>
linux安装redis 完整步骤
查看>>
用java获取指定时区的时间
查看>>
搭建SVN服务器步骤详解
查看>>
javax.mail.MessagingException: 500 Error: bad syntax问题
查看>>
JAVA判断字符串是否base64编码
查看>>
linux(CentOS7.4) 安装 Nginx 1.15.2
查看>>
spring shiro redis : 将session存入redis,实现session共享
查看>>
网站使用QQ互联接入第三方登录,实现qq快捷登录网站的功能
查看>>
第三方网站应用微信登录开发指南
查看>>
网站接入微博快捷登录-微博开放平台
查看>>
linux centos 使用yum安装java
查看>>
微信商户支付开发中的三套商户
查看>>
微信开放平台和公总平台关系图
查看>>
python 写入CSV文件报错:a bytes-like object is required, not 'str'
查看>>
用户故事
查看>>