如何在 Xamarin PCL 上安装 'MvvmCross.HotTuna.MvvmCrossLibraries 4.0.0-beta3'?

How to install 'MvvmCross.HotTuna.MvvmCrossLibraries 4.0.0-beta3' on Xamarin PCL?

按照 this 教程,我正在尝试在核心项目中安装 MvvmCross.HotTuna.MvvmCrossLibraries。该库的最新版本 'MvvmCross.HotTuna.MvvmCrossLibraries 4.0.0-beta3'。 添加 Nuget 包后出现以下错误:

Could not install package 'MvvmCross.HotTuna.MvvmCrossLibraries 4.0.0-beta3'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.0,Profile=Profile14', 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.

有人知道问题出在哪里吗?

原问题的答案:

MvvmCross 不适用于 ASP.NET。您需要在 UWP、Xamarin.Android、Xamarin.iOS 或 PCL.

等兼容框架之一中使用它

更新问题:

MvvmCross 至少使用配置文件 259 的 .NET 4.5。切换到能够安装库的版本。