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

后端 未结 6 1167
孤城傲影
孤城傲影 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:05

    This solved my problem.

    1. Right Click on the project
    2. Click on Manage NuGet Packages
    3. Click on the Update Tab
    4. Select Xamarin.Forms and hit update

    Update Xamarin.Forms NuGet Package

提交回复
热议问题