W8.1 Live SDK 5.6 - LiveAuthClient.InitializeAsync System.NullReferenceException
问题 I'm developing a Windows 8.1 App (XAML/C#) with MVVM Light. I used to keep my LiveId inside the code just for debugging, but now it's time to do the LogIn. Currently i'm stuck with this piece of code: this.authClient = new LiveAuthClient(); LiveLoginResult loginResult = await this.authClient.InitializeAsync(scopes); It keeps giving me the error: An exception of type 'System.NullReferenceException' occurred in mscorlib.dll but was not handled in user code Additional information: Object