2 ms·
Windows Forms and WPF are also both Windows API wrappers, and they've been brought over for when you are targeting Windows-based platforms. System.Speech is no
by ocdtrekkie 6y ago
Windows Forms and WPF are also both Windows API wrappers, and they've been brought over for when you are targeting Windows-based platforms.
System.Speech is no longer available on Windows in .NET 5, even if you're using Windows Forms or WPF, which are Windows-only frameworks.
In theory, if Microsoft was at least holding up compatibility for such things on Windows, I could move my target towards .NET Core/.NET 5, then gradually replace Windows-specific code with cross-platform code. But as per usual, I'm getting the impression it'd be easier to start over than migrate.
I agree it'd be really nice if they open sourced the code necessary to look at porting System.Speech, but I imagine it'd be unpleasant as a business decision: It'd erode their ability to bill people for the Azure "replacement".