CureCloudMD is the best medical billing company in the USA that offers a complete suite of HIPAA-compliant healthcare revenue cycle management services including charge entry solutions, psychiatric billing services in USA & coding services, account receivable recovery services, reimbursement collection, and payment posting services.
System.Speech not working on deployment
I am using .NET 6 for a Desktop application under Windows 10 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.