LiveSDK初始化/登录时失败的解决办法

环境描述

Windows 8.1+VS 2013 Update3+Live SDK 5.6

Metro风格的程序,集成LIVE认证

问题描述

如下图,提示Null Reference的异常。

image

解决办法

就一句话,把程序与应用商店关联起来。细节图如下

image

image

选择手机号

image

输入手机上收到的code

image

输入reserve的应用名字,这个名字可以在store里面保留一年。

image

点击reserver之后,如下图

image

 

 

 

 

 

 

 

然后点Associate就可以了。

image

其他

与MobileService集成,参考这里:http://azure.microsoft.com/en-us/documentation/articles/mobile-services-windows-store-dotnet-single-sign-on/

与XAML相关的LIVE集成:http://msdn.microsoft.com/pt-PT/library/windows/apps/xaml/hh968445.aspx#signout

CanLogout一直为false或者Logout扔Null Reference异常,参考这里:http://stackoverflow.com/questions/14491783/windows-live-sdk-doesnt-logout/14601406

很悲催的一个人,7个月了还没搞定:https://social.msdn.microsoft.com/Forums/onedrive/en-US/756926c9-6bdb-4336-913e-b3a05bd686d9/liveauthclient-initializeasync-exception?forum=messengerconnect

posted @ 2014-10-28 20:19  鞠强  阅读(2017)  评论(0编辑  收藏  举报

hello

world