User Profile
BrianGCampbell
Copper Contributor
Joined Oct 06, 2022
User Widgets
Recent Discussions
System.Speech not working on deployment
I am using .NET 6 and have installed the System.Speech NuGet package. I am using the System.Speech.Synthesis library. It works fine within the Visual Studio IDE (compiled for Debug and Release) but as soon as I created an installer using the Microsoft Setup extension and install the program on exactly the same machine as running the IDE, I get an Exception: - System.PlatformNotSupportedException: Speech is not supported on this platform. Under the IDE, everything works fine - no crashes and I can hear the speech. Stand-alone the application causes an exception on creating an instance of the System.Speech.Synthesis.SpeechSynthesizer object. Because it works fine under the IDE, I can't use it to do any pinpointing of the problem. I have repeated this on three totally different computers all with the same results. It does not appear to be a configuration issue with one machine.3.5KViews0likes3Comments
Recent Blog Articles
No content to show