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
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.

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
Post a Comment