c# - SpeechClient.dll is giving XamlParseException -


i using speechclient.dll speech recognition in dictation mode. giving me xamlparseexception when creating object speechrecognitionservicefactory class

using system; using microsoftprojectoxford; using system.configuration; using system.diagnostics; using system.io;  namespace onlinerecognition {  public partial class mainwindow : window {     string m_primaryorsecondarykey = configurationmanager.appsettings["primarykey"];     private speechrecognitionmode m_recomode = speechrecognitionmode.longdictation;     private bool m_ismicrophonereco = true;     private microphonerecognitionclient m_micclient;      /// <summary>     /// initializes new instance of <see cref="mainwindow"/> class.     /// </summary>     public mainwindow()     {         initializecomponent();         m_micclient = speechrecognitionservicefactory.createmicrophoneclient(m_recomode, "en-us",                                                                                         m_primaryorsecondarykey);     } } } 

i searched few msdn blogs error , got page exact error

https://social.msdn.microsoft.com/forums/sqlserver/en-us/611e7f6f-f664-4218-bbee-015990bb624e/speechclientdll?forum=mlapi

there suggested run code in windows 8 because windows speech library has hard dependency on windows 8's network stack. followed , executed code on windows 8 same error persists. can me error. attached snapshots of details of xamlparseexception on win7 , win8.

error on win 7 error on win 8

i had same problem. running code on machine different development machine. installed visual c++ redistributable packages (http://www.microsoft.com/en-us/download/details.aspx?id=40784), rebooted, , resolved issue.

i'm not sure if fix issue or not, worked me! (note installed them visual studio versions 2013 , 2015.)


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -