Caliburn.Micro NuGet 安装在便携式 Class 库项目上失败
Caliburn.Micro NuGet Install Fails on Portable Class Library Project
我正在尝试将 Caliburn.Micro-Contrib NuGet 包安装到 VS 2013 Professional 中的空 PCL 项目中。
我在尝试安装包时从 NuGet 收到以下错误:
Attempting to resolve dependency 'Caliburn.Micro (≥ 1.3.1)'.
Installing 'Caliburn.Micro 1.3.1'.
Successfully installed 'Caliburn.Micro 1.3.1'.
Installing 'Caliburn.Micro-Contrib 1.0.2'.
Successfully installed 'Caliburn.Micro-Contrib 1.0.2'.
Adding 'Caliburn.Micro 1.3.1' to ClassLibrary2.
Uninstalling 'Caliburn.Micro 1.3.1'.
Successfully uninstalled 'Caliburn.Micro 1.3.1'.
Install failed. Rolling back...
Could not install package 'Caliburn.Micro 1.3.1'. You are trying to install this package into a project that targets 'portable-net40+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10', 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.
问题的原因是什么,我该如何解决?
请注意,标准 class 项目的包安装成功,但 PCL 项目的包安装失败。 PCL 旨在成为 Xamarin Android 和 iOS 项目。
Caliburn.Micro Contrib 似乎没有 PCL 兼容包。它还取决于 Caliburn Micro 的完整(不是 PCL)版本。另请注意,Xamarin 支持似乎仅在 Caliburn Micro 的预发布测试版中可用。
我正在尝试将 Caliburn.Micro-Contrib NuGet 包安装到 VS 2013 Professional 中的空 PCL 项目中。
我在尝试安装包时从 NuGet 收到以下错误:
Attempting to resolve dependency 'Caliburn.Micro (≥ 1.3.1)'.
Installing 'Caliburn.Micro 1.3.1'.
Successfully installed 'Caliburn.Micro 1.3.1'.
Installing 'Caliburn.Micro-Contrib 1.0.2'.
Successfully installed 'Caliburn.Micro-Contrib 1.0.2'.
Adding 'Caliburn.Micro 1.3.1' to ClassLibrary2.
Uninstalling 'Caliburn.Micro 1.3.1'.
Successfully uninstalled 'Caliburn.Micro 1.3.1'.
Install failed. Rolling back...
Could not install package 'Caliburn.Micro 1.3.1'. You are trying to install this package into a project that targets 'portable-net40+win+wpa81+MonoAndroid10+xamarinios10+MonoTouch10', 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.
问题的原因是什么,我该如何解决?
请注意,标准 class 项目的包安装成功,但 PCL 项目的包安装失败。 PCL 旨在成为 Xamarin Android 和 iOS 项目。
Caliburn.Micro Contrib 似乎没有 PCL 兼容包。它还取决于 Caliburn Micro 的完整(不是 PCL)版本。另请注意,Xamarin 支持似乎仅在 Caliburn Micro 的预发布测试版中可用。