将示例项目移动到新目录后,无法添加FaceTrackLib.dll和FaceTrackData.dll [英] Unable to add FaceTrackLib.dll and FaceTrackData.dll after moving sample project to new directory

查看:77
本文介绍了将示例项目移动到新目录后,无法添加FaceTrackLib.dll和FaceTrackData.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好MSDN社区,

下载Kinect for Windows sdk 1.8后,我继续下载Developer Toolkit v1.8。在成功运行包含的示例项目"FaceTrackingBasics-wpf"之后然后,我尝试将整个"FaceTrackingBasics-wpf"项目文件夹的
复制到我自己的目录,方法是复制整个文件夹并手动将其放在新目录中。我已经尝试将示例代码添加到在这个新目录中工作,就像它在
中的原始位置一样。 

After downloading the Kinect for Windows sdk 1.8, I proceeded to download the Developer Toolkit v1.8. After successfully running the included sample project "FaceTrackingBasics-wpf" I then attempted to copy the entire "FaceTrackingBasics-wpf"project folder to my own directory by copying the entire folder and manually placing it in the new directory. I have since been trying to get the sample code to work in this new directory, just as it did in its original location. 

我的第一个挑战是修复Microsoft.Kinect.Toolkit.dll和Microsoft.Kinect.Toolkit.Facetracking.dll的引用路径。我指出了位于Developer Toolkit v1.8.0\bin中的Microsoft.Kinect.Toolkit.dll和Microsoft.Kinect.Toolkit.Facetracking.dll
的引用。收到有关操作系统兼容性的警告后,我将程序设置为使用AMD64构建。
Developer Toolkit v1.8.0\bin文件夹是引用开发人员工具包示例项目中使用的dll的正确位置吗?

My first challenge was to fix the path for the references for the Microsoft.Kinect.Toolkit.dll and the Microsoft.Kinect.Toolkit.Facetracking.dll. I pointed the references to the Microsoft.Kinect.Toolkit.dll and the Microsoft.Kinect.Toolkit.Facetracking.dll located in the Developer Toolkit v1.8.0\bin. After receiving a warning about the OS compatibility, I set my program to build using AMD64. Is the Developer Toolkit v1.8.0\bin folder the correct place to reference dlls used in the developer toolkit sample projects?

包含  Microsoft.Kinect.Toolkit.dll和Microsoft.Kinect.Toolkit.Facetracking.dll后,我收到一条消息,提示我再添加两个dll:FaceTrackLib.dll和FaceTrackData.dll。
但是,当我尝试使用与上述相同的方法添加这两个dll时(从Developer Toolkit v1.8.0\bin文件夹添加)我收到一条错误消息,要求我"检查该文件是 可访问 并且文件
具有有效的程序集或COM组件。"我正在运行Visual Studio作为管理员程序。
引用Developer Toolkit示例项目使用的dll的正确方法是什么?出现此错误消息的可能原因是什么?
非常感谢任何帮助。

After including the Microsoft.Kinect.Toolkit.dll and the Microsoft.Kinect.Toolkit.Facetracking.dll, I received a message prompting me to add two more dlls: FaceTrackLib.dll and FaceTrackData.dll. However, when I attempted to add these two dlls using the same method as described above (adding from the Developer Toolkit v1.8.0\bin folder) I received an error message asking me to "check that the file is accessible and the the file has a valid assembly or COM component." I am running Visual Studio as an administrator program. What is the correct way to reference dlls used by the Developer Toolkit sample project? What are some of the possible reasons for this error message? Any assistance would be greatly appreciated.

作为参考我使用的是Kinect v1使用sdk 1.8.0而我的计算机操作系统是Windows 8.1。我正在使用VS2010。

For reference I am using Kinect v1 using sdk 1.8.0 and my computer OS is a Windows 8.1. I am using VS2010.

非常感谢,

Dhruv

 

推荐答案

答案:

1。不,不要参考这个,您应该使用Toolkit浏览器并单击"安装"按钮。按钮在某处创建项目,以便不修改原始项目。这个"安装"将项目解决方案和依赖项
项目(Microsoft.Kinect.Toolkit和Microsoft.Kinect.Toolkit.Facetracking)复制到您将主解决方案项目复制到的同一文件夹中。

1. No, do not reference this, you should be using the Toolkit Browser and click the "Install" button to create the project somewhere as to not modify the original projects. This "Install" will copy the project solution and dependency projects (Microsoft.Kinect.Toolkit and Microsoft.Kinect.Toolkit.Facetracking) to the same folder you copy the main solution project to.

2。一旦你做#1,就不应再有依赖问题。

2. Once you do #1, you should not have a dependency issue anymore.


这篇关于将示例项目移动到新目录后,无法添加FaceTrackLib.dll和FaceTrackData.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆