我有一個使用Bing.Speech擴展庫的用戶控件。它在它自己的項目中,迄今爲止的控制只被我一直在使用的主應用程序消耗,而在同一個解決方案中的另一個項目。現在一直工作得很好。今天,我創建了一個新的解決方案,它從我的主應用程序運行一些測試。當我將其納入新解決方案時,正如預期的那樣,很多參考文獻都沒有解決,其中之一就是Bing.Speech。我爲解決方案啓用了NuGet軟件包恢復,清理並重建了它。現在我收到了許多關於重複類型名稱的錯誤,如下所示。顯然有一些衝突與CLRHost.dll進程內服務器?我能做些什麼來解決這個問題?C#/ WinRT應用程序中bing.speech和CLRHost.dll之間的重複類型名稱?
Error 5 The .winmd file 'Bing.Speech.winmd' contains duplicate type names. Type 'Bing.Speech.SpeechAuthorizationParameters' is already registered with the in-process server 'CLRHost.dll'. TestSpeechRecoControl
Error 4 The .winmd file 'Bing.Speech.winmd' contains duplicate type names. Type 'Bing.Speech.SpeechRecognitionAudioCaptureStateChangedEventArgs' is already registered with the in-process server 'CLRHost.dll'. TestSpeechRecoControl
Error 6 The .winmd file 'Bing.Speech.winmd' contains duplicate type names. Type 'Bing.Speech.SpeechRecognitionAudioLevelChangedEventArgs' is already registered with the in-process server 'CLRHost.dll'. TestSpeechRecoControl
Error 8 The .winmd file 'Bing.Speech.winmd' contains duplicate type names. Type 'Bing.Speech.SpeechRecognitionResultReceivedEventArgs' is already registered with the in-process server 'CLRHost.dll'. TestSpeechRecoControl
Error 7 The .winmd file 'Bing.Speech.winmd' contains duplicate type names. Type 'Bing.Speech.SpeechRecognizer' is already registered with the in-process server 'CLRHost.dll'. TestSpeechRecoControl