C#/WinRT应用程序中bing.speech和CLRHost.dll之间存在重复的类型名称?

C#/WinRT应用程序中bing.speech和CLRHost.dll之间存在重复的类型名称?,c#,types,visual-studio-2013,C#,Types,Visual Studio 2013,我有一个使用Bing.Speech扩展库的用户控件。它在它自己的项目中,到目前为止,控件只被我正在开发的主应用程序使用,这是同一解决方案中的另一个项目。几周来它一直运转良好。今天,我用它创建了一个新的解决方案,在我的主应用程序之外运行一些测试。当我将它包括在新的解决方案中时,正如预期的那样,许多引用都没有得到解决,其中之一就是Bing.Speech。我为解决方案启用了NuGet package restore,清理并重建了它。现在我遇到了许多关于重复类型名的错误,如下面所示。显然与CLRSHOS

我有一个使用Bing.Speech扩展库的用户控件。它在它自己的项目中,到目前为止,控件只被我正在开发的主应用程序使用,这是同一解决方案中的另一个项目。几周来它一直运转良好。今天,我用它创建了一个新的解决方案,在我的主应用程序之外运行一些测试。当我将它包括在新的解决方案中时,正如预期的那样,许多引用都没有得到解决,其中之一就是Bing.Speech。我为解决方案启用了NuGet package restore,清理并重建了它。现在我遇到了许多关于重复类型名的错误,如下面所示。显然与CLRSHOST.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

我有相同的错误消息,但在另一种情况下。 对于通用windows应用程序(引用bing语音的地方),该应用程序已成为测试项目。在这个测试项目中,我有一个编译异常

错误8.winmd文件“Bing.Speech.winmd”包含重复的类型名。类型“Bing.Speech.SpeechRecognitionResultReceivedEventArgs”已在进程内服务器“CLRHost.dll”中注册。Windows。测试

在我的例子中,当添加了对bing.speeck的引用时,问题就解决了