0

My application only runs when a computer has the Kinect for Windows V2 SDK installed. I thought a user would only need to have Kinect for Windows Runtime v2.0 installed.

Without the SDK installed I get an error

Could not load file or assembly '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. I use

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!

Eric Nelson
  • 337
  • 4
  • 15

1 Answers1

0

Can i check if you have done these steps to ensure you have already added the references into your project? enter image description hereenter image description here

Cheers!

bingcheng45
  • 398
  • 4
  • 14
  • Yes! that's exactly what I did. – Eric Nelson May 26 '17 at 18:59
  • It could be the Files it is trying to copy upon building the application is not found on their computer as seen in this code below: xcopy "$(KINECTSDK20_DIR)Redist\Face\$(Platform)\NuiDatabase" "$(TargetDir)\NuiDatabase" /S /R /Y /I Which can be found under Project > Project Properties > Build events > Post-Build. what the code does is basically copying some files over from the kinect sdk folder to your project. let me know if this helps – bingcheng45 May 28 '17 at 16:41