2016-10-16 19 views
-1

イムはそれを得る時間以来、今グーグルが、いけないSystem.Speech.dllで発生したいただきましたが間違って未処理の例外が

エラー:

An unhandled exception of type 'System.FormatException' occurred in System.Speech.dll 

追加情報:ダブルクリッ引用符付きの文字列は無効です。

イメージどこかで起こるe.c.c. I had first the double quotes error which got fixed with removing the " ' ", if i comment out the lowest 2 lines (create grammar and loading) its working, but logically not loading it... "name" is a List

+1

で作業を手に入れました。原因は 'name'配列です。それを調べる。 – CodeCaster

+0

'型「にSystem.FormatException」の未処理の例外はSystem.Speech.dllに 発生しました追加情報:二重引用符で囲まれた文字列が '文法steamGamesに=新しい文法(新GrammarBuilder(新しい選択肢を エラーvalid.'ありません(名前.Array())))) ') しかし、私は二重引用符を持っていません... – Sascha

+0

再度編集できません--- xDを編集します それには「 '」があります。私はやっていないので、ループはそれが結果の文字列で置換されていないので、削除しないでください – Sascha

答えて

0

それはデバッガが間違った行を指している、あなたはリリースビルドを実行しているname = json.applist.apps.Select(p => p.name.Replace("\"", string.Empty)).ToList();