LiveSDK 5.6.3在UWP商店应用不工作 [英] LiveSDK 5.6.3 not working in UWP store app

查看:130
本文介绍了LiveSDK 5.6.3在UWP商店应用不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个万能的Windows商店应用针对Windows 10.在以前版本的应用程序针对Windows 8.1我用LiveSDK的(的 5.6版本这里),以从用户的MS Live帐户访问数据使用 LiveAuthClient 。在应用程序的新版本,我想我会使用最新的LiveSDK版本( 5.6.3可作为的NuGet包这里),但是当我安装的NuGet包,我无法访问Microsoft.Live命名空间。

I have a universal windows store app targeting Windows 10. In a previous version of the app targeting Windows 8.1 I used the LiveSDK (the 5.6 version here) to access data from the user's MS Live account using the LiveAuthClient. In the new version of the app, I figured I'd use the most recent version of the LiveSDK (5.6.3 available as a nuget package here) but when I install the nuget package, I am unable to to access the Microsoft.Live namespace.

例如,下面的语句:

using Microsoft.Live;



产生错误类型或命名空间'活'不存在命名空间'微软'。

时,这个包断还是我缺少明显的东西吗?我本来期望,就像它的5.6版本LiveSDK的做这个工作。这也似乎是为LiveSDK的文档是所有指向信息有关OneDrive API既然所以这让我不知道如果SDK的目的已经改变。我很困惑...什么是最新的LiveSDK(即有一个 LiveAuthClient )和我在哪里可以找到它的版本?

Is this package broken or am I missing something obvious here? I would have expected this to work just like it did with the 5.6 version of the LiveSDK. It also seems like the documentation for the LiveSDK is all pointing to info about the OneDrive api now so it makes me wonder if the purpose of the sdk has changed. I'm confused... What's the most recent version of the LiveSDK (the one that has the LiveAuthClient) and where can I find it?

推荐答案

我不知道为什么的的NuGet管理器的不会自动添加一个参考,但似乎一旦你添加一个工作从目录中手动引用:

I'm not sure why Nuget Manager doesn't add a reference automatically, but it seems to work once you add a reference manually from directory:

C:\Users\USER\.nuget\packages\LiveSDK\5.6.3\\ \\WindowsXAML\MicrosoftLive.dll

这篇关于LiveSDK 5.6.3在UWP商店应用不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆