Microsoft Emotion API实现错误

时间:2016-12-15 15:13:12

标签: c# nuget-package microsoft-cognitive

我正在尝试使用github上提供的代码在C#中实现Microsoft情感api。我按照Microsoft Cognitive Service中给出的所有步骤进行了操作。我有3个错误

Error : The tag 'VideoResultControl' does not exist in XML namespace 'clr-namespace:SampleUserControlLibrary;assembly=SampleUserControlLibrary'

Error: The tag 'SampleScenarios' does not exist in XML namespace 'clr-namespace:SampleUserControlLibrary;assembly=SampleUserControlLibrary'.

Error NuGet Package restore failed for project EmotionAPI-WPF-Samples: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters

我发现了一个类似的问题here(第三个问题的变化除外),但没有答案。

我尝试删除.suo文件以修复上一个错误,但没有运气

1 个答案:

答案 0 :(得分:2)

经过数小时的研究,我解决了这个问题。 对于前两个错误,我发现了

  

Cognitive-Common-Windows是一个git子模块

所以,todos是 -

git submodule init

git submodule update

对于第三个问题,I temporarily moved the project to an upper directory tree so that the path name is not too long 可以找到更多信息herehere