LiveSDK初始化/登陸時失敗的解決辦法

環境描述

Windows 8.1+VS 2013 Update3+Live SDK 5.6windows

Metro風格的程序,集成LIVE認證app

問題描述

以下圖,提示Null Reference的異常。async

image

解決辦法

就一句話,把程序與應用商店關聯起來。細節圖以下3d

image

image

選擇手機號code

image

輸入手機上收到的codeserver

image

輸入reserve的應用名字,這個名字能夠在store裏面保留一年。blog

image

點擊reserver以後,以下圖ci

image

 

 

 

 

 

 

 

而後點Associate就能夠了。get

image

其餘

與MobileService集成,參考這裏:http://azure.microsoft.com/en-us/documentation/articles/mobile-services-windows-store-dotnet-single-sign-on/it

與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

相關文章
相關標籤/搜索