标签: xamarin.forms
在预览器中,错误显示为An IOS Application project must reference the project containing this xaml file in order to render in the previewer.
An IOS Application project must reference the project containing this xaml file in order to render in the previewer.
在IOS项目中添加了PCL参考,并且还添加了Xamarin.forms最新的nuget包。
答案 0 :(得分:0)
解决方案很简单。这对我在android项目中有效。该错误信息不言自明。解决方案:检查您的android项目,并确保PCL / .net标准项目的dll被引用。就我自己而言,它被引用但显示为黄色。我通过右键单击android project => projects => solution =>选择PCL / .net标准项目=> ok ..