Який геній замість того щоб повертати пусту колекцію повертає null я хз. То якась недоліба.
Взагалі судячи з того що пишуть тут - https://docs.microsoft.com/en-us/previo … fice.14%29 В самому кінці а саме.
The Speech Platform Runtime 11 and the Speech Platform SDK 11 do not include Runtime Languages for speech recognition or for speech synthesis (TTS or text-to-speech). You must install them separately. A Runtime Language includes the language model, acoustic model, and other data necessary to provision a speech engine to perform speech recognition or TTS in a particular language. There are separate Runtime Languages for speech recognition or speech synthesis. The version of Runtime Languages that you download (for example, version 11.0) must match the version of the Speech Platform Runtime that you have installed. You can download Runtime Languages using this link.
Треба ще скачати якісь додаткові компоненти тут - https://www.microsoft.com/en-us/downloa … x?id=27224
Хоча насправді я попробував відтворити вашу помилку в себе і в мене такий код працює успішно. Правда це не трошки оновлена ліба бо в 10 вони її трошки поремонтували напевно.
SpeechSynthesizer s = new SpeechSynthesizer();
s.Speak("Hello guys!");