UnauthorizedAccessException when initializing SpeechSynthesizer
问题 I'm using Microsofts SpeechSynthesizer to create audio output for my Windows Phone app. I use this code private async void TextToSpeech_Tap(object sender, System.Windows.Input.GestureEventArgs e) { SpeechSynthesizer synth = new SpeechSynthesizer(); await synth.SpeakTextAsync("You have a meeting with Peter in 15 minutes."); } I get this exception: {System.UnauthorizedAccessException: Access is denied. at Windows.Phone.Speech.Synthesis.SpeechSynthesizer..ctor() at NerdQuiz.Question.