在下面的预览器中,错误显示为An IOS Application project must reference the project containing this xaml file in order to render in the previewer.
IOS工程中添加了PCL引用,同时也添加了Xamarin.forms最新的nuget包。
发布于 2018-12-14 19:10:54
解决方案很简单。这对我在android项目中很有效。错误消息是不言而喻的。解决方案:检查您的android项目,并确保您的PCL/.net标准项目的dll是引用。在我自己的例子中,它被引用了,但显示为黄色。我通过右键单击android project=>projects=>solution=>select PCL/.net标准项目=> ok删除了引用和重新引用。
https://stackoverflow.com/questions/45455039
复制相似问题