Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/340.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Microsoft情感API实现错误_C#_Nuget Package_Microsoft Cognitive - Fatal编程技术网

C# Microsoft情感API实现错误

C# Microsoft情感API实现错误,c#,nuget-package,microsoft-cognitive,C#,Nuget Package,Microsoft Cognitive,我正试图使用github上的代码在C#中实现Microsoft情感api。我遵循中给出的所有步骤。我有三个错误 Error : The tag 'VideoResultControl' does not exist in XML namespace 'clr-namespace:SampleUserControlLibrary;assembly=SampleUserControlLibrary' Error: The tag 'SampleScenarios' does not exist i

我正试图使用github上的代码在C#中实现Microsoft情感api。我遵循中给出的所有步骤。我有三个错误

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
我发现有人问了一个类似的问题(除了第三个问题的变化),但没有答案


我试图删除
.suo
文件以修复最后一个错误,但运气不佳

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

认知公共窗口是git子模块

所以,待办事项是-

git submodule init

git submodule update
对于第三个问题,
我临时将项目移动到上层目录树,以便路径名不会太长
更多信息可在