c# - 缺少 Microsoft.Gestures.Endpoint.dll 和 Microsoft.Gestures.Protocol.dll
问题描述
我想建立一个手势控制项目。
该项目使用英特尔实感 SR300,我已安装英特尔实感 SDK 2.0。
我还安装了 Project Prague SDK 用于手势控制。已Microsoft.Gestures.dll
安装。但它不会安装
Microsoft.Gestures.Endpoint.dll
Microsoft.Gestures.Protocol.dll
所以我无法在我的项目中引用这两个 dll。因此,意味着我不能在我的项目中使用手势控制。
有没有办法让这些 dll 以其他方式获取?还是有其他使用手势控制的解决方案?
解决方案
要找到所需的DLL's
,您必须使用%MicrosoftGesturesInstallDir%
环境变量。它指向您AppData
文件夹中的一个位置:
%AppData%\Microsoft\Prague\PragueVersions\LatestVersion
这是存储并同步的所有必需文件。
或使用以下路径:
%AppData%\Microsoft\Prague\PragueVersions\LatestVersion\SDK\Microsoft.Gestures.Endpoint.dll
%AppData%\Microsoft\Prague\PragueVersions\LatestVersion\Microsoft.Gestures.Protocol.dll
%MicrosoftGesturesInstallDir%\SDK\Microsoft.Gestures.Endpoint.dll
%MicrosoftGesturesInstallDir%\Microsoft.Gestures.Protocol.dll
来自布拉格项目的官方文档:
请注意,为了编译上述代码,您需要引用以下程序集,这些程序集位于MicrosoftGesturesInstallDir环境变量指示的目录中:
- Microsoft.Gestures.dll
- Microsoft.Gestures.Endpoint.dll
- Microsoft.Gestures.Protocol.dll
推荐阅读
- python - 如果一个字段不存在,如何在 JSON 中跳过?
- javascript - 在 Google 表格中将报告发送到邮件
- api-platform.com - API 平台:按数量订购
- rust - 为什么使用 PhantomData
被添加到结构中,但代码仍然可以编译并且有一个 use-after-free 错误 - jestjs - 笑话:如何测试一个组件是否具有某个 ref 属性?
- firemonkey - 如何在 C++Builder 的任务中加载图像?
- asp.net-web-api - .Net Core 5:WebApi 查询字符串参数
- github - npm 版本,github,在版本提交时跳过 CI,但在合并时触发
- blender - 启用时 Blender Screencast 键错误
- swift - 在 Swift 中定义 React-native 后无法更改 Orientation