Visual Studio 无法将 Profile151 PCL 添加到 Xamarin 项目
Visual Studio fails to add a Profile151 PCL to Xamarin project
我正在尝试将 Profile151 PCL nuget 包添加到 Visual Studio 2015(更新 3)中的 Xamarin iOS 和 Android 项目,它告诉我该包不兼容。该包具有库文件夹 "portable-net451-win81-wpa81"(Profile151 PCL 的 "official" recommendation)
这是错误信息:"Could not install package 'velox.core 1.0.2.8'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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."
奇怪的是,我可以使用 Xamarin Studio 将相同的 nuget 包添加到项目中。
这是什么原因?有解决方法吗?
看起来这是 VS 2015 的 NuGet 客户端失败。理想情况下 Profile151
应该标记为与 Xamarin.iOS
兼容,但事实并非如此。这是因为 NuGet v3 中的硬编码列表没有列出 Profile151
:
因此我在 NuGet.Client
github:
上报告了一个问题
我正在尝试将 Profile151 PCL nuget 包添加到 Visual Studio 2015(更新 3)中的 Xamarin iOS 和 Android 项目,它告诉我该包不兼容。该包具有库文件夹 "portable-net451-win81-wpa81"(Profile151 PCL 的 "official" recommendation)
这是错误信息:"Could not install package 'velox.core 1.0.2.8'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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."
奇怪的是,我可以使用 Xamarin Studio 将相同的 nuget 包添加到项目中。
这是什么原因?有解决方法吗?
看起来这是 VS 2015 的 NuGet 客户端失败。理想情况下 Profile151
应该标记为与 Xamarin.iOS
兼容,但事实并非如此。这是因为 NuGet v3 中的硬编码列表没有列出 Profile151
:
因此我在 NuGet.Client
github: