我正在尝试安装 facebook C# sdkNuGet 控制台进入我的视窗电话 8 app, .NET框架4.0但它给出了一个错误!详细信息如下:
PM> Install-Package Facebook
Successfully installed 'Facebook 6.4.2'.
Successfully uninstalled 'Facebook 6.4.2'.
Install failed. Rolling back...
Install-Package : Could not install package 'Facebook 6.4.2'. You are trying to install this package into a project that
targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:1
+ Install-Package Facebook
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
如果我尝试安装这个安装包 Facebook.Client -pre然后我也遇到同样的错误!有人可以帮助我吗?提前致谢 !!
问题是您的 nuget 包管理器未更新。请更新您的 nuget 管理器,重新启动,然后重试。它应该工作正常。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)