是否有用于Windows 8的四方客户端库。我检查了foursquare站点和这个客户端‘Square’,但是每当我尝试将它包含在我的项目中时,我就会得到版本不兼容的错误
install-package : Could not install package 'SharpSquare 1.0.0.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 or content files that are
compatible with that framework.我也尝试在构建.dll之后添加项目,但是得到了相同的错误。
发布于 2014-04-12 19:42:02
登录SharpSquare on GitHub (https://github.com/TICLAB/SharpSquare)的源代码,没有适用于Windows 8的版本。
您需要将其转换为Windows库。应该不难,只需删除对System.Web的不必要引用,并使所有请求都是异步的。这是我对它的看法,它编译,但我还没有测试它:https://dl.dropboxusercontent.com/u/73642/SharpSquareWP8.zip
发布于 2014-04-12 20:34:28
我认为你能做的最好的事情就是利用Foursquare REST https://developer.foursquare.com/docs/。
还有一个像RestSharp这样的库来与他们合作。
https://stackoverflow.com/questions/22795111
复制相似问题