已发布应用程序的AddGesture异常 [英] AddGesture Exception on Published App

查看:93
本文介绍了已发布应用程序的AddGesture异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在vgbtechs的后期构建上执行XCOPY时,找不到"addGesture"的目录未找到例外。我的应用程序似乎在Visual Studio 2013 Pro调试中运行良好,当我发布/打包APP进行测试时,它已经回来了作为
Windows 8中的WPF桌面作为X64构建和安装。我已将vbgtechs dll指定为"content"在我的项目中的vgbtechs文件夹中,但似乎无法看到我仍然出错的地方,它在Visual Studio中工作但不是作为已发布的
APP?我尝试将Kinect V2样本中的Discrete Seated示例作为已编译的应用程序安装,但它会无声地死掉,所以我想知道我错过了什么。其他人看到类似吗?


mzxa

解决方案

您使用相同的Post Build XCOPY脚本将文件复制到输出目录。请参阅SDK Browser项目中的DiscreteGesture示例。

 xcopy" 


(KINECTSDK20_DIR)Redist\VGB \

(平台)\vgbtechs" "

Hi,

While doing an XCOPY on post build for the vgbtechs got the directory not found exception to go away for "addGesture" and my app seems to work fine in Visual Studio 2013 Pro debug, it has come back when I publish/package the APP for testing as a WPF desktop in Windows 8.1 as an X64 build and install. I have specified the vbgtechs dlls as "content" in a vgbtechs folder in my project but can't seem to see where I am still going wrong and that it works in visual studio but not as a published APP? I tried installing the Discrete Seated Example from the Kinect V2 samples as a compiled app but it dies silently so I am wondering what I am missing. Anyone else seeing similar?

mzxa

解决方案

You use the same Post Build XCOPY script to copy the files to your output directory. See the DiscreteGesture sample from the SDK Browser project.

xcopy "


(KINECTSDK20_DIR)Redist\VGB\


(Platform)\vgbtechs" "


这篇关于已发布应用程序的AddGesture异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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