是.NET 4.5强制的Windows API代码包 [英] Is .NET 4.5 mandatory for Windows API Code Pack

查看:166
本文介绍了是.NET 4.5强制的Windows API代码包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是.NET 4.5强制使用Windows API代码包(Microsoft.WindowsAPICodePack和Microsoft.WindowsAPICodePack.Sensors.dll)
它将为.NET 4.0?

Is .NET 4.5 mandatory for using Windows API Code Pack (Microsoft.WindowsAPICodePack and Microsoft.WindowsAPICodePack.Sensors.dll) Will it work for .NET 4.0?

的Windows API代码包的最新版本是1.1,但有没有似乎是它一个专门的页面。

The latest version of Windows API Code Pack is 1.1 but there doesn't seems to be a dedicated page for it.

推荐答案

在Windows 7的发布(取代Vista的桥库)图书馆出版,并面向.NET Framework版本是预装Win7上,3.5版。你不能低于3.5,但对System.Core.dll的依赖。针对.NET 4.x的不是一个已知的问题。

The library was published when Windows 7 was released (replacing the "Vista Bridge" library), and targets the .NET Framework version that is pre-installed on Win7, version 3.5. You cannot go lower than 3.5, it has a dependency on System.Core.dll. Targeting .NET 4.x is not a known problem.

做保留目标操作系统要求记住了的传感器API ,底层的COM接口(ISENSOR等)需要Windows 7或更高,而无法在服务器版本。

Do keep the target operating system requirement in mind for the Sensor api, the underlying COM interface (ISensor et al) requires Windows 7 or higher and is not available on the Server edition.

这篇关于是.NET 4.5强制的Windows API代码包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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