-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Speech Platform not supported #406
Comments
From what I understand System.Speech requires Windows platform support so you may have to set your TargetFramework to net8.0-windows if it is not set to it already. Please note that out-of-proc extensibility runs on .Net Core platform while old VSIX integration runs in process in Visual Studio on .Net Framework. Thanks, |
Yes, that's what i've tried and it did not worked. I also verified the .net Core 8 support by writting a small console application which works. The same line of code fails when running the command in visual studio. Console App
Default VSExtensibility Template
|
I think i got a workaround for my issue which is not such great. I also think there is an issue with the way the vs plugin gets compiled or hosted because it seems to ignore the targetOS at all or for it's dependencies. What i did is to add the correct System.Speech.dll directly to my project without using the nuget package, because the nuget package contains two versions of the dll: correct one: .nuget\packages\system.speech\8.0.0\runtimes\win\lib\net8.0\System.Speech.dll
|
If there is a native dependency involved, this is likely caused by #390 which we are investigating. |
Thanks, i think than this can be closed. |
I'm trying to use System.Speech 8.0 in my Visual Studio Extension. But everytime I'm starting the speech recognition I'm receiving a PlatformNotSupported exception.
I also tried to force a windows platform compilation without luck. It worked with the old VSIX integration and the same nuget versions.
Is there any way to get it working?
The text was updated successfully, but these errors were encountered: