Xamarin.Forms Previewer - An android application project must reference a project containing this xaml file in order to render in the previewer

后端 未结 6 1132
孤城傲影
孤城傲影 2021-02-20 01:53

I\'m getting the following error when trying to preview XAML documents via the Xamarin.Forms Previewer while in Visual Studio.

An Android Application proj

6条回答
  •  一向
    一向 (楼主)
    2021-02-20 02:04

    Check your android project and make sure the dll of your PCL/.net standard project is reference. In my own case, its referenced but shows a yellow color. I deleted the reference and re-reference by right clicking on the android project>projects>solution>select the PCL/.net standard project > ok

提交回复
热议问题