Xamarin.Forms could not install package

后端 未结 6 1955
伪装坚强ぢ
伪装坚强ぢ 2021-01-07 23:18

When creating a new solution within Xamarian studio I get this error

Could not install package \'Xamarin.Forms 1.0.6186\'. You are trying to install t

6条回答
  •  一向
    一向 (楼主)
    2021-01-08 00:14

    I had the same problem with my Xamarin project. The problem was, that in the portable Xamarin project Windows Phone Silverlight was set as target. The PCL project from which I created the nuget, didn't reference Silverlight as target. I don't need Silverlight, so uninstalling all nuget packages from my portable Xamarin project, removing silverlight as target and reinstalling the NuGet packages solved it.

提交回复
热议问题