如何在 Mono 项目中安装 4.5.2 nuget 包?

How to install 4.5.2 nuget package in Mono project?

我将 Xamarin Studio 6.3 与 Mono 5.4.1.6 一起用于 Raspberry Pi 3 项目。我需要安装 Unosquare.Raspberry.IO C#/Mono API 以便与 Raspberry Pi 交互,但是当我添加包时,出现此错误:

Could not install package 'Unosquare.Swan 0.16.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

包需要 .NET framework 4.5.2。根据 Mono-Project,Mono 应该是 compatible/equivalent 到 .NET 4.7,但在 Xamarin 中可用的最新目标框架是 "Mono / .NET 4.5".

那么,install/use这个包可以吗?

看来是不可能的。我想我必须尝试在支持的框架中重建包。