如果我有一个多目标(netstandard16 和 PCL Profile44)项目(新的 SDK 样式 csproj)并且我在 Xamarin.iOS/Android 项目中引用它作为项目引用,我如何指定引用的平台?
Xamarin 项目使用 netstandard,但我想在这种情况下使用 PCL。
最佳答案
您可以使用以下方法覆盖项目引用中的目标框架:
<ProjectReference Include="../other/other.csproj" AdditionalProperties="TargetFramework=your-pcl-TFM" />
关于c# - 如何指定引用的多目标项目的平台?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47892608/