如果我有一个多目标(netstandard16和PCL Profile44)项目(新的SDK样式csproj)并且我在Xamarin.iOS / Android项目中将其作为项目参考引用,我该如何指定引用的平台?
Xamarin项目提出了netstandard标准,但我想在这种情况下使用PCL。
您可以使用以下方法覆盖项目引用中的目标框架:
<ProjectReference Include="../other/other.csproj" AdditionalProperties="TargetFramework=your-pcl-TFM" />
你不能和NuGet也不会。 Netstandard始终胜过传统的PCL。你为什么要反过来?