简体   繁体   English

在visual studio 2015社区安装Xamarin.Auth时出错

[英]Error while installing Xamarin.Auth on visual studio 2015 community

While installing Xamarin.Auth Nuget i am getting following error: 安装Xamarin.Auth Nuget时出现以下错误:

Severity Code Description Project File Line Suppression State Error Could not install package 'Validation 2.0.4.14103'. 严重级代码说明项目文件行抑制状态错误无法安装包“验证2.0.4.14103”。 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. 您正在尝试将此软件包安装到以“Xamarin.iOS,Version = v1.0”为目标的项目中,但该软件包不包含与该框架兼容的任何程序集引用或内容文件。 For more information, contact the package author. 有关更多信息,请与软件包作者联系。 0 0

I resolved this by updating the Nuget Package for 'Validation' to 2.3.7 which was then installed to the iOS project without issue. 我通过将“验证”的Nuget包更新到2.3.7来解决这个问题,然后将其安装到iOS项目中而没有问题。

I was then able to install Xamarin.Auth to the iOS project. 然后我就可以将Xamarin.Auth安装到iOS项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM