我尝试使用 System.Speech.Synthesis 中的 SpeechSynthesizer,因为它似乎比我之前使用的 (Windows.Media.SpeechSynthesis) 更全面:我希望能够设置音量、声音的性别,...此外,法语发音有一些错误,所以我想检查 System.Speech 是否更好。
我添加了参考,但构建给出了这个错误,我无法修复它:
Cannot find type System.MarshalByRefObject in module CommonLanguageRuntimeLibrary.