哪里可以获得最新的DLL [英] Where to get the latest DLLs

查看:83
本文介绍了哪里可以获得最新的DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从Kinect网站下载了2.0 SDK,但我无法找到WPF商店应用的最新DLL。样本是旧的,需要重新定位到8.1并参考kinect dll的预览版本。 WindowPreview.Kinect。


我尝试从nuget安装但是我收到此错误:


您正在尝试将此软件包安装到一个目标为'的项目中.NETCore,Version = v4.5.1',但该软件包不包含任何程序集引用 

或与该框架兼容的内容文件。有关详细信息,请与软件包作者联系。



解决方案

<要在Windows 8.1商店应用中使用Kinect,首先要做的是添加对WindowsPreview.Kinect的引用:



安装Kinect 2.0 SDK时,会从这里检索这些引用:C:\Program Files(x86) \ MicroSoft SDKs\Windows\v8.1 \ExtensionSDKs


接下来你要做的就是启用网络摄像头和麦克风。


< img alt =""src ="https://social.msdn.microsoft.com/Forums/getfile/583999">


如果您没有看到项目的这些选项,您获得的错误和问题很可能是因为该项目不是Windows 8.1 Store XAML应用程序。看起来您的项目是一个常规的.Net WPF应用程序项目类型。将
项目类型更改为Windows 8.1 Store Xaml应用程序




I downloaded the 2.0 SDK from the Kinect site but I cannot find where the latest DLLs for a WPF store app. The samples are old and require retargetting to 8.1 and reference the preview version of the kinect dll. WindowPreview.Kinect.

I tried installing from nuget but I get this error:

You are trying to install this package into a project that targets '.NETCore,Version=v4.5.1', but the package does not contain any assembly references 
or content files that are compatible with that framework. For more information, contact the package author.


解决方案

To utilize Kinect in a Windows 8.1 store app, the first thing you do is add a reference to the WindowsPreview.Kinect:

When you install the Kinect 2.0 SDK these references are retrieved from here: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs

The next thing you do is enable web cam and microphone.

If you don't see these options for your project, the error and issue you're getting is most likely because the project is not a Windows 8.1 Store XAML application. It appears as though your project is a regular .Net WPF application project type. Change your project type to a Windows 8.1 Store Xaml application


这篇关于哪里可以获得最新的DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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