try with references instead?
Change to console application type
Must add contents of NiTE and OpenNI Redist/ folders to working directory
Ignore all NiTE and OpenNI Redist/ bits