.NetStandard 2.0 无法被面向 xamarin.ios 版本 1.0 的项目引用

.NetStandard 2.0 can not be referenced by a project that targets xamarin.ios Version 1.0

我正在尝试将 Xamarin.Forms 项目升级到 Xamarin.iOS 中的 .Net Standard 2.0。到目前为止它的 运行 在 xamarin.android 中很好但是当我们在 iOS 它在 Visual Studio 2017 年社区版 mac machine.

上的编译时抛出以下错误

我们已尝试清除 obj 和 bin 文件夹,我们的项目正在使用所有最新的 xamarin.forms 库。

此外,xamarin forms 项目文件已经有以下条目

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
  </PropertyGroup>

经过大量探索后,我遇到了以下 link,它将 pcl 项目转换为 .Net 标准并且对我有用。

Blog link that explains the brief about Mutatio plugin

Github link where in author has explained how to install Mutatio plugin in VS 2017 for Mac