简体   繁体   English

无需用户安装SDK,即可发布Kinect for Windows V2应用程序

[英]Release Kinect for Windows V2 app without needing users to install the SDK

My application only runs when a computer has the Kinect for Windows V2 SDK installed. 我的应用程序仅在计算机安装了Kinect for Windows V2 SDK时运行。 I thought a user would only need to have Kinect for Windows Runtime v2.0 installed . 我认为用户只需要安装Kinect for Windows Runtime v2.0

Without the SDK installed I get an error 如果未安装SDK,则会出现错误

Could not load file or assembly 'Microsoft.Kinect, Version=2.0.0.0, ... 无法加载文件或程序集'Microsoft.Kinect,Version = 2.0.0.0,...

In my Visual Studios Reference Manager, I search for Kinect and all of the DLLs are from the SDK. 在我的Visual Studios参考管理器中,我搜索Kinect,所有DLL都来自SDK。 I use 我用

C:\\Program Files\\Microsoft SDKS\\Kinect\\v2.0_1409\\Assemblies\\Microsoft.Kinect.dll C:\\ Program Files \\ Microsoft SDKS \\ Kinect \\ v2.0_1409 \\ Assemblies \\ Microsoft.Kinect.dll

Do I need to add a different reference from the Runtime library? 我是否需要从运行库中添加其他引用?

Thanks! 谢谢!

Can i check if you have done these steps to ensure you have already added the references into your project? 我可以检查您是否已完成这些步骤,以确保已将引用添加到项目中? 在此处输入图片说明 在此处输入图片说明

Cheers! 干杯!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM